#9865EA#9865EA

#9865EA is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.3% C 0.194 H 298.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9865EA
RGBrgb(152, 101, 234)
HSLhsl(263, 76%, 66%)
HSVhsv(263, 57%, 92%)
CMYKcmyk(35%, 56.8%, 0%, 8.2%)
CIE-LABlab(53.95, 47.97, -60.14)
CIE-LCHlch(53.95, 76.93, 308.58°)
OKLaboklab(62.32% 0.0917 -0.1705)
OKLCHoklch(62.32% 0.194 298.3)
XYZxyz(32.4502, 21.9229, 80.3479)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865EA #B7EA65
analogous
#6574EA #9865EA #DB65EA
triadic
#9865EA #EA9865 #65EA98
tetradic
#9865EA #EA6574 #B7EA65 #65EADB
square
#9865EA #EA6574 #B7EA65 #65EADB
split-complementary
#9865EA #EADB65 #74EA65
monochromatic
#571ABB #742FE3 #9865EA #BC9BF1 #E0D1F9

Accessibility & contrast

On white

3.90
#9865EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9865EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865EA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865EA#FFFFFF#000000##000000
##9865EA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281EE
Deuteranopia (green-blind)
#3880E7
Tritanopia (blue-blind)
#86819E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9865ea;
/* rgb */ color: rgb(152, 101, 234);
/* oklch */ color: oklch(62.3% 0.194 298.3);
Tailwind
colors: {
  custom: {
    50: '#bb93f1',
    500: '#9865ea',
    950: '#000000',
  },
}
SCSS
$custom: #9865ea;
$custom-light: #bb93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9865ea",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 263.008,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62323,
    "c": 0.19364,
    "h": 298.3
  },
  "luminance": 0.21923
}

Semantic roles & 50–950 ramp

primary
#9865EA
secondary
#DBECBF
accent
#D80D8A
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865EA

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

Preview Lab → · Contrast checker → · Palette generator →

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