#A26CE9#A26CE9

#A26CE9 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.184 H 301.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A26CE9
RGBrgb(162, 108, 233)
HSLhsl(266, 74%, 67%)
HSVhsv(266, 54%, 91%)
CMYKcmyk(30.5%, 53.6%, 0%, 8.6%)
CIE-LABlab(56.38, 46.30, -55.62)
CIE-LCHlch(56.38, 72.37, 309.77°)
OKLaboklab(64.33% 0.0957 -0.157)
OKLCHoklch(64.33% 0.184 301.4)
XYZxyz(34.9674, 24.2896, 79.9212)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CE9 #B3E96C
analogous
#6C75E9 #A26CE9 #E06CE9
triadic
#A26CE9 #E9A26C #6CE9A2
tetradic
#A26CE9 #E96C75 #B3E96C #6CE9E0
square
#A26CE9 #E96C75 #B3E96C #6CE9E0
split-complementary
#A26CE9 #E9E06C #75E96C
monochromatic
#621CBE #8037E1 #A26CE9 #C4A1F1 #E5D6F9

Accessibility & contrast

On white

3.58
#A26CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A26CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CE9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CE9#FFFFFF#000000##000000
##A26CE91.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86ED
Deuteranopia (green-blind)
#4E87E6
Tritanopia (blue-blind)
#9484A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a26ce9;
/* rgb */ color: rgb(162, 108, 233);
/* oklch */ color: oklch(64.3% 0.184 301.4);
Tailwind
colors: {
  custom: {
    50: '#c198f1',
    500: '#a26ce9',
    950: '#000000',
  },
}
SCSS
$custom: #a26ce9;
$custom-light: #c198f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a26ce9",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 233
  },
  "hsl": {
    "h": 265.92,
    "s": 73.964,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64332,
    "c": 0.18386,
    "h": 301.4
  },
  "luminance": 0.2429
}

Semantic roles & 50–950 ramp

primary
#A26CE9
secondary
#DBECC4
accent
#D60F80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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