#9868ED#9868ED

#9868ED is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.193 H 297.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9868ED
RGBrgb(152, 104, 237)
HSLhsl(262, 79%, 67%)
HSVhsv(262, 56%, 93%)
CMYKcmyk(35.9%, 56.1%, 0%, 7.1%)
CIE-LABlab(54.75, 47.10, -60.52)
CIE-LCHlch(54.75, 76.69, 307.89°)
OKLaboklab(62.97% 0.0882 -0.1716)
OKLCHoklch(62.97% 0.193 297.2)
XYZxyz(33.1814, 22.6900, 82.7358)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868ED #BDED68
analogous
#687BED #9868ED #DA68ED
triadic
#9868ED #ED9868 #68ED98
tetradic
#9868ED #ED687B #BDED68 #68EDDA
square
#9868ED #ED687B #BDED68 #68EDDA
split-complementary
#9868ED #EDDA68 #7BED68
monochromatic
#5517C3 #7331E6 #9868ED #BD9FF4 #E3D5FA

Accessibility & contrast

On white

3.79
#9868ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9868ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868ED
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868ED#FFFFFF#000000##000000
##9868ED1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F1
Deuteranopia (green-blind)
#3981EA
Tritanopia (blue-blind)
#8484A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9868ed;
/* rgb */ color: rgb(152, 104, 237);
/* oklch */ color: oklch(63.0% 0.193 297.2);
Tailwind
colors: {
  custom: {
    50: '#bb95f3',
    500: '#9868ed',
    950: '#000000',
  },
}
SCSS
$custom: #9868ed;
$custom-light: #bb95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9868ed",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 261.654,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62974,
    "c": 0.19296,
    "h": 297.2
  },
  "luminance": 0.2269
}

Semantic roles & 50–950 ramp

primary
#9868ED
secondary
#DEEEC3
accent
#DB0B90
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868ED

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

Preview Lab → · Contrast checker → · Palette generator →

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