#8A6FE1#8A6FE1

#8A6FE1 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.1% C 0.167 H 291.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A6FE1
RGBrgb(138, 111, 225)
HSLhsl(254, 66%, 66%)
HSVhsv(254, 51%, 88%)
CMYKcmyk(38.7%, 50.7%, 0%, 11.8%)
CIE-LABlab(54.25, 36.71, -54.68)
CIE-LCHlch(54.25, 65.86, 303.87°)
OKLaboklab(62.06% 0.0617 -0.1549)
OKLCHoklch(62.06% 0.167 291.7)
XYZxyz(29.7526, 22.2076, 73.9385)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FE1 #C6E16F
analogous
#6F8DE1 #8A6FE1 #C36FE1
triadic
#8A6FE1 #E18A6F #6FE18A
tetradic
#8A6FE1 #E16F8D #C6E16F #6FE1C3
square
#8A6FE1 #E16F8D #C6E16F #6FE1C3
split-complementary
#8A6FE1 #E1C36F #8DE16F
monochromatic
#4625B1 #613CD6 #8A6FE1 #B3A2EC #DCD4F6

Accessibility & contrast

On white

3.86
#8A6FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A6FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FE1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FE1#FFFFFF#000000##000000
##8A6FE11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4083E5
Deuteranopia (green-blind)
#447FDE
Tritanopia (blue-blind)
#73869E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6fe1;
/* rgb */ color: rgb(138, 111, 225);
/* oklch */ color: oklch(62.1% 0.167 291.7);
Tailwind
colors: {
  custom: {
    50: '#b099eb',
    500: '#8a6fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fe1;
$custom-light: #b099eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fe1",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 225
  },
  "hsl": {
    "h": 254.211,
    "s": 65.517,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.16672,
    "h": 291.7
  },
  "luminance": 0.22208
}

Semantic roles & 50–950 ramp

primary
#8A6FE1
secondary
#E0E9C3
accent
#CD18A2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A6FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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