#A26FF8#A26FF8

#A26FF8 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.197 H 297.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A26FF8
RGBrgb(162, 111, 248)
HSLhsl(262, 91%, 70%)
HSVhsv(262, 55%, 97%)
CMYKcmyk(34.7%, 55.2%, 0%, 2.7%)
CIE-LABlab(57.87, 48.38, -61.57)
CIE-LCHlch(57.87, 78.31, 308.16°)
OKLaboklab(65.72% 0.0925 -0.1744)
OKLCHoklch(65.72% 0.197 297.9)
XYZxyz(37.5238, 25.8271, 91.7969)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FF8 #C5F86F
analogous
#6F80F8 #A26FF8 #E76FF8
triadic
#A26FF8 #F8A26F #6FF8A2
tetradic
#A26FF8 #F86F80 #C5F86F #6FF8E7
square
#A26FF8 #F86F80 #C5F86F #6FF8E7
split-complementary
#A26FF8 #F8E76F #80F86F
monochromatic
#5B0BE2 #7C35F5 #A26FF8 #C8A9FB #ECE2FE

Accessibility & contrast

On white

3.41
#A26FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A26FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FF8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FF8#FFFFFF#000000##000000
##A26FF81.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFD
Deuteranopia (green-blind)
#438AF5
Tritanopia (blue-blind)
#8F8BA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a26ff8;
/* rgb */ color: rgb(162, 111, 248);
/* oklch */ color: oklch(65.7% 0.197 297.9);
Tailwind
colors: {
  custom: {
    50: '#c29afb',
    500: '#a26ff8',
    950: '#000000',
  },
}
SCSS
$custom: #a26ff8;
$custom-light: #c29afb;
$custom-dark: #000000;
JSON
{
  "hex": "#a26ff8",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 262.336,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65715,
    "c": 0.19743,
    "h": 297.9
  },
  "luminance": 0.25828
}

Semantic roles & 50–950 ramp

primary
#A26FF8
secondary
#E6F4CF
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26FF8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A26FF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva