#9865CE#9865CE

#9865CE is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.160 H 304.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9865CE
RGBrgb(152, 101, 206)
HSLhsl(269, 52%, 60%)
HSVhsv(269, 51%, 81%)
CMYKcmyk(26.2%, 51%, 0%, 19.2%)
CIE-LABlab(52.33, 41.08, -46.89)
CIE-LCHlch(52.33, 62.34, 311.22°)
OKLaboklab(60.61% 0.0905 -0.1317)
OKLCHoklch(60.61% 0.16 304.5)
XYZxyz(28.7408, 20.4391, 60.8116)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865CE #9BCE65
analogous
#6566CE #9865CE #CD65CE
triadic
#9865CE #CE9865 #65CE98
tetradic
#9865CE #CE6566 #9BCE65 #65CECD
square
#9865CE #CE6566 #9BCE65 #65CECD
split-complementary
#9865CE #CECD65 #66CE65
monochromatic
#5B2D8C #793BBA #9865CE #B793DD #D6C2EC

Accessibility & contrast

On white

4.13
#9865CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9865CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865CE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865CE#FFFFFF#000000##000000
##9865CE1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#8F7890
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9865ce;
/* rgb */ color: rgb(152, 101, 206);
/* oklch */ color: oklch(60.6% 0.160 304.5);
Tailwind
colors: {
  custom: {
    50: '#b992dd',
    500: '#9865ce',
    950: '#000000',
  },
}
SCSS
$custom: #9865ce;
$custom-light: #b992dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9865ce",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 269.143,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60611,
    "c": 0.15984,
    "h": 304.5
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#9865CE
secondary
#C8DCB3
accent
#BF2675
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9865CE

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

Preview Lab → · Contrast checker → · Palette generator →

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