#9865EF#9865EF

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

Color values

HEX#9865EF
RGBrgb(152, 101, 239)
HSLhsl(262, 81%, 67%)
HSVhsv(262, 58%, 94%)
CMYKcmyk(36.4%, 57.7%, 0%, 6.3%)
CIE-LABlab(54.25, 49.24, -62.44)
CIE-LCHlch(54.25, 79.52, 308.26°)
OKLaboklab(62.65% 0.0917 -0.1773)
OKLCHoklch(62.65% 0.2 297.4)
XYZxyz(33.1786, 22.2143, 84.1844)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865EF #BCEF65
analogous
#6577EF #9865EF #DD65EF
triadic
#9865EF #EF9865 #65EF98
tetradic
#9865EF #EF6577 #BCEF65 #65EFDD
square
#9865EF #EF6577 #BCEF65 #65EFDD
split-complementary
#9865EF #EFDD65 #77EF65
monochromatic
#5614C5 #732EE9 #9865EF #BD9CF5 #E2D4FB

Accessibility & contrast

On white

3.86
#9865EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9865EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865EF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865EF#FFFFFF#000000##000000
##9865EF1.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)
#1682F4
Deuteranopia (green-blind)
#3180EC
Tritanopia (blue-blind)
#8482A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9865ef;
/* rgb */ color: rgb(152, 101, 239);
/* oklch */ color: oklch(62.6% 0.200 297.4);
Tailwind
colors: {
  custom: {
    50: '#bb93f5',
    500: '#9865ef',
    950: '#000000',
  },
}
SCSS
$custom: #9865ef;
$custom-light: #bb93f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9865ef",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 239
  },
  "hsl": {
    "h": 262.174,
    "s": 81.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62648,
    "c": 0.19959,
    "h": 297.4
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

primary
#9865EF
secondary
#DEEEC2
accent
#DE088F
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865EF

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

Preview Lab → · Contrast checker → · Palette generator →

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