#9865EC#9865EC

#9865EC is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.196 H 297.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9865EC
RGBrgb(152, 101, 236)
HSLhsl(263, 78%, 66%)
HSVhsv(263, 57%, 93%)
CMYKcmyk(35.6%, 57.2%, 0%, 7.5%)
CIE-LABlab(54.07, 48.48, -61.06)
CIE-LCHlch(54.07, 77.96, 308.45°)
OKLaboklab(62.45% 0.0917 -0.1732)
OKLCHoklch(62.45% 0.196 297.9)
XYZxyz(32.7391, 22.0385, 81.8696)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865EC #B9EC65
analogous
#6575EC #9865EC #DC65EC
triadic
#9865EC #EC9865 #65EC98
tetradic
#9865EC #EC6575 #B9EC65 #65ECDC
square
#9865EC #EC6575 #B9EC65 #65ECDC
split-complementary
#9865EC #ECDC65 #75EC65
monochromatic
#5718BF #742FE5 #9865EC #BC9BF3 #E1D2F9

Accessibility & contrast

On white

3.88
#9865EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9865EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865EC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865EC#FFFFFF#000000##000000
##9865EC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#3580E9
Tritanopia (blue-blind)
#85819F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9865ec;
/* rgb */ color: rgb(152, 101, 236);
/* oklch */ color: oklch(62.5% 0.196 297.9);
Tailwind
colors: {
  custom: {
    50: '#bb93f3',
    500: '#9865ec',
    950: '#000000',
  },
}
SCSS
$custom: #9865ec;
$custom-light: #bb93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9865ec",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 262.667,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62453,
    "c": 0.19603,
    "h": 297.9
  },
  "luminance": 0.22039
}

Semantic roles & 50–950 ramp

primary
#9865EC
secondary
#DCEDC0
accent
#DA0B8C
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865EC

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

Preview Lab → · Contrast checker → · Palette generator →

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