#9865EE#9865EE

#9865EE is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.198 H 297.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9865EE
RGBrgb(152, 101, 238)
HSLhsl(262, 80%, 66%)
HSVhsv(262, 58%, 93%)
CMYKcmyk(36.1%, 57.6%, 0%, 6.7%)
CIE-LABlab(54.19, 48.98, -61.98)
CIE-LCHlch(54.19, 79.00, 308.32°)
OKLaboklab(62.58% 0.0917 -0.1759)
OKLCHoklch(62.58% 0.198 297.5)
XYZxyz(33.0313, 22.1553, 83.4085)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865EE #BBEE65
analogous
#6577EE #9865EE #DD65EE
triadic
#9865EE #EE9865 #65EE98
tetradic
#9865EE #EE6577 #BBEE65 #65EEDD
square
#9865EE #EE6577 #BBEE65 #65EEDD
split-complementary
#9865EE #EEDD65 #77EE65
monochromatic
#5616C3 #732EE8 #9865EE #BD9CF4 #E2D3FA

Accessibility & contrast

On white

3.87
#9865EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#9865EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865EE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865EE#FFFFFF#000000##000000
##9865EE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1982F2
Deuteranopia (green-blind)
#3280EB
Tritanopia (blue-blind)
#8482A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9865ee;
/* rgb */ color: rgb(152, 101, 238);
/* oklch */ color: oklch(62.6% 0.198 297.5);
Tailwind
colors: {
  custom: {
    50: '#bb93f4',
    500: '#9865ee',
    950: '#000000',
  },
}
SCSS
$custom: #9865ee;
$custom-light: #bb93f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9865ee",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 238
  },
  "hsl": {
    "h": 262.336,
    "s": 80.117,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62583,
    "c": 0.19841,
    "h": 297.5
  },
  "luminance": 0.22156
}

Semantic roles & 50–950 ramp

primary
#9865EE
secondary
#DDEEC1
accent
#DC098E
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9865EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva