#9867F8#9867F8

#9867F8 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.5% C 0.208 H 295.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9867F8
RGBrgb(152, 103, 248)
HSLhsl(260, 91%, 69%)
HSVhsv(260, 58%, 97%)
CMYKcmyk(38.7%, 58.5%, 0%, 2.7%)
CIE-LABlab(55.23, 50.46, -65.88)
CIE-LCHlch(55.23, 82.98, 307.45°)
OKLaboklab(63.54% 0.0892 -0.1874)
OKLCHoklch(63.54% 0.208 295.5)
XYZxyz(34.7380, 23.1525, 91.4274)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867F8 #C7F867
analogous
#677FF8 #9867F8 #E167F8
triadic
#9867F8 #F89867 #67F898
tetradic
#9867F8 #F8677F #C7F867 #67F8E1
square
#9867F8 #F8677F #C7F867 #67F8E1
split-complementary
#9867F8 #F8E167 #7FF867
monochromatic
#510ADB #702CF5 #9867F8 #C0A2FB #E7DCFD

Accessibility & contrast

On white

3.73
#9867F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9867F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867F8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867F8#FFFFFF#000000##000000
##9867F81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#2582F5
Tritanopia (blue-blind)
#8086A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9867f8;
/* rgb */ color: rgb(152, 103, 248);
/* oklch */ color: oklch(63.5% 0.208 295.5);
Tailwind
colors: {
  custom: {
    50: '#bc94fb',
    500: '#9867f8',
    950: '#000000',
  },
}
SCSS
$custom: #9867f8;
$custom-light: #bc94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9867f8",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 248
  },
  "hsl": {
    "h": 260.276,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63543,
    "c": 0.20755,
    "h": 295.5
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

primary
#9867F8
secondary
#E4F3C8
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867F8

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

Preview Lab → · Contrast checker → · Palette generator →

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