#8A6DFE#8A6DFE

#8A6DFE is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.6% C 0.207 H 288.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A6DFE
RGBrgb(138, 109, 254)
HSLhsl(252, 99%, 71%)
HSVhsv(252, 57%, 100%)
CMYKcmyk(45.7%, 57.1%, 0%, 0.4%)
CIE-LABlab(55.58, 45.83, -68.70)
CIE-LCHlch(55.58, 82.58, 303.71°)
OKLaboklab(63.62% 0.0648 -0.1961)
OKLCHoklch(63.62% 0.207 288.3)
XYZxyz(33.8341, 23.4950, 96.4990)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DFE #E1FE6D
analogous
#6D98FE #8A6DFE #D26DFE
triadic
#8A6DFE #FE8A6D #6DFE8A
tetradic
#8A6DFE #FE6D98 #E1FE6D #6DFED2
square
#8A6DFE #FE6D98 #E1FE6D #6DFED2
split-complementary
#8A6DFE #FED26D #98FE6D
monochromatic
#3102EF #5930FE #8A6DFE #BBAAFE #E7E1FF

Accessibility & contrast

On white

3.68
#8A6DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A6DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DFE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DFE#FFFFFF#000000##000000
##8A6DFE1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#658EAB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6dfe;
/* rgb */ color: rgb(138, 109, 254);
/* oklch */ color: oklch(63.6% 0.207 288.3);
Tailwind
colors: {
  custom: {
    50: '#b398ff',
    500: '#8a6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6dfe;
$custom-light: #b398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6dfe",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 252,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63615,
    "c": 0.20654,
    "h": 288.3
  },
  "luminance": 0.23496
}

Semantic roles & 50–950 ramp

primary
#8A6DFE
secondary
#EFF6D0
accent
#E600B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

#8A6DFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva