#9867F6#9867F6

#9867F6 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.4% C 0.205 H 295.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9867F6
RGBrgb(152, 103, 246)
HSLhsl(261, 89%, 68%)
HSVhsv(261, 58%, 96%)
CMYKcmyk(38.2%, 58.1%, 0%, 3.5%)
CIE-LABlab(55.10, 49.95, -64.97)
CIE-LCHlch(55.10, 81.95, 307.55°)
OKLaboklab(63.41% 0.0893 -0.1847)
OKLCHoklch(63.41% 0.205 295.8)
XYZxyz(34.4294, 23.0291, 89.8020)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867F6 #C5F667
analogous
#677DF6 #9867F6 #DF67F6
triadic
#9867F6 #F69867 #67F698
tetradic
#9867F6 #F6677D #C5F667 #67F6DF
square
#9867F6 #F6677D #C5F667 #67F6DF
split-complementary
#9867F6 #F6DF67 #7DF667
monochromatic
#520DD6 #712DF3 #9867F6 #BFA1F9 #E6DBFD

Accessibility & contrast

On white

3.75
#9867F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9867F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867F6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867F6#FFFFFF#000000##000000
##9867F61.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0685FB
Deuteranopia (green-blind)
#2982F3
Tritanopia (blue-blind)
#8186A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9867f6;
/* rgb */ color: rgb(152, 103, 246);
/* oklch */ color: oklch(63.4% 0.205 295.8);
Tailwind
colors: {
  custom: {
    50: '#bc94fa',
    500: '#9867f6',
    950: '#000000',
  },
}
SCSS
$custom: #9867f6;
$custom-light: #bc94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9867f6",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 246
  },
  "hsl": {
    "h": 260.559,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6341,
    "c": 0.20516,
    "h": 295.8
  },
  "luminance": 0.2303
}

Semantic roles & 50–950 ramp

primary
#9867F6
secondary
#E3F2C7
accent
#E50097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867F6

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

Preview Lab → · Contrast checker → · Palette generator →

#9867F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva