#9865EB#9865EB

#9865EB is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.195 H 298.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9865EB
RGBrgb(152, 101, 235)
HSLhsl(263, 77%, 66%)
HSVhsv(263, 57%, 92%)
CMYKcmyk(35.3%, 57%, 0%, 7.8%)
CIE-LABlab(54.01, 48.22, -60.60)
CIE-LCHlch(54.01, 77.44, 308.51°)
OKLaboklab(62.39% 0.0917 -0.1719)
OKLCHoklch(62.39% 0.195 298.1)
XYZxyz(32.5942, 21.9805, 81.1066)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865EB #B8EB65
analogous
#6575EB #9865EB #DB65EB
triadic
#9865EB #EB9865 #65EB98
tetradic
#9865EB #EB6575 #B8EB65 #65EBDB
square
#9865EB #EB6575 #B8EB65 #65EBDB
split-complementary
#9865EB #EBDB65 #75EB65
monochromatic
#5719BD #742FE4 #9865EB #BC9BF2 #E0D1F9

Accessibility & contrast

On white

3.89
#9865EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9865EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865EB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865EB#FFFFFF#000000##000000
##9865EB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#3780E8
Tritanopia (blue-blind)
#85819E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9865eb;
/* rgb */ color: rgb(152, 101, 235);
/* oklch */ color: oklch(62.4% 0.195 298.1);
Tailwind
colors: {
  custom: {
    50: '#bb93f2',
    500: '#9865eb',
    950: '#000000',
  },
}
SCSS
$custom: #9865eb;
$custom-light: #bb93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9865eb",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 262.836,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.19483,
    "h": 298.1
  },
  "luminance": 0.21981
}

Semantic roles & 50–950 ramp

primary
#9865EB
secondary
#DBECC0
accent
#D90C8B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865EB

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

Preview Lab → · Contrast checker → · Palette generator →

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