#9867ED#9867ED

#9867ED is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.8% C 0.194 H 297.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9867ED
RGBrgb(152, 103, 237)
HSLhsl(262, 79%, 67%)
HSVhsv(262, 57%, 93%)
CMYKcmyk(35.9%, 56.5%, 0%, 7.1%)
CIE-LABlab(54.54, 47.65, -60.85)
CIE-LCHlch(54.54, 77.29, 308.06°)
OKLaboklab(62.82% 0.0894 -0.1726)
OKLCHoklch(62.82% 0.194 297.4)
XYZxyz(33.0814, 22.4898, 82.7024)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867ED #BCED67
analogous
#6779ED #9867ED #DB67ED
triadic
#9867ED #ED9867 #67ED98
tetradic
#9867ED #ED6779 #BCED67 #67EDDB
square
#9867ED #ED6779 #BCED67 #67EDDB
split-complementary
#9867ED #EDDB67 #79ED67
monochromatic
#5617C3 #7330E7 #9867ED #BD9EF3 #E2D4FA

Accessibility & contrast

On white

3.82
#9867ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9867ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867ED
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867ED#FFFFFF#000000##000000
##9867ED1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F1
Deuteranopia (green-blind)
#3881EA
Tritanopia (blue-blind)
#8483A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9867ed;
/* rgb */ color: rgb(152, 103, 237);
/* oklch */ color: oklch(62.8% 0.194 297.4);
Tailwind
colors: {
  custom: {
    50: '#bb94f3',
    500: '#9867ed',
    950: '#000000',
  },
}
SCSS
$custom: #9867ed;
$custom-light: #bb94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9867ed",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 237
  },
  "hsl": {
    "h": 261.94,
    "s": 78.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.19439,
    "h": 297.4
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#9867ED
secondary
#DEEDC2
accent
#DB0A8F
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9867ED

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

Preview Lab → · Contrast checker → · Palette generator →

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