#9865DA#9865DA

#9865DA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.174 H 301.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9865DA
RGBrgb(152, 101, 218)
HSLhsl(266, 61%, 63%)
HSVhsv(266, 54%, 85%)
CMYKcmyk(30.3%, 53.7%, 0%, 14.5%)
CIE-LABlab(53.00, 43.99, -52.65)
CIE-LCHlch(53.00, 68.60, 309.88°)
OKLaboklab(61.32% 0.0913 -0.1485)
OKLCHoklch(61.32% 0.174 301.6)
XYZxyz(30.2545, 21.0446, 68.7842)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865DA #A7DA65
analogous
#656CDA #9865DA #D365DA
triadic
#9865DA #DA9865 #65DA98
tetradic
#9865DA #DA656C #A7DA65 #65DAD3
square
#9865DA #DA656C #A7DA65 #65DAD3
split-complementary
#9865DA #DAD365 #6CDA65
monochromatic
#5B269F #7734CE #9865DA #B996E6 #DAC8F2

Accessibility & contrast

On white

4.03
#9865DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9865DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865DA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865DA#FFFFFF#000000##000000
##9865DA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDE
Deuteranopia (green-blind)
#497ED7
Tritanopia (blue-blind)
#8B7C96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9865da;
/* rgb */ color: rgb(152, 101, 218);
/* oklch */ color: oklch(61.3% 0.174 301.6);
Tailwind
colors: {
  custom: {
    50: '#ba92e6',
    500: '#9865da',
    950: '#000000',
  },
}
SCSS
$custom: #9865da;
$custom-light: #ba92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9865da",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 218
  },
  "hsl": {
    "h": 266.154,
    "s": 61.257,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.17438,
    "h": 301.6
  },
  "luminance": 0.21045
}

Semantic roles & 50–950 ramp

primary
#9865DA
secondary
#D0E3B8
accent
#C91D7E
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9865DA

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

Preview Lab → · Contrast checker → · Palette generator →

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