#9867E8#9867E8

#9867E8 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.5% C 0.188 H 298.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9867E8
RGBrgb(152, 103, 232)
HSLhsl(263, 74%, 66%)
HSVhsv(263, 56%, 91%)
CMYKcmyk(34.5%, 55.6%, 0%, 9%)
CIE-LABlab(54.24, 46.38, -58.54)
CIE-LCHlch(54.24, 74.69, 308.39°)
OKLaboklab(62.5% 0.0893 -0.1658)
OKLCHoklch(62.5% 0.188 298.3)
XYZxyz(32.3610, 22.2017, 78.9087)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867E8 #B7E867
analogous
#6776E8 #9867E8 #D967E8
triadic
#9867E8 #E89867 #67E898
tetradic
#9867E8 #E86776 #B7E867 #67E8D9
square
#9867E8 #E86776 #B7E867 #67E8D9
split-complementary
#9867E8 #E8D967 #76E867
monochromatic
#571CB9 #7432E0 #9867E8 #BC9CF0 #E0D1F8

Accessibility & contrast

On white

3.86
#9867E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9867E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867E8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867E8#FFFFFF#000000##000000
##9867E81.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)
#2C82EC
Deuteranopia (green-blind)
#3E80E5
Tritanopia (blue-blind)
#86819E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9867e8;
/* rgb */ color: rgb(152, 103, 232);
/* oklch */ color: oklch(62.5% 0.188 298.3);
Tailwind
colors: {
  custom: {
    50: '#ba94f0',
    500: '#9867e8',
    950: '#000000',
  },
}
SCSS
$custom: #9867e8;
$custom-light: #ba94f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9867e8",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 262.791,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62502,
    "c": 0.18836,
    "h": 298.3
  },
  "luminance": 0.22202
}

Semantic roles & 50–950 ramp

primary
#9867E8
secondary
#DBEBC0
accent
#D6108B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867E8

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

Preview Lab → · Contrast checker → · Palette generator →

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