#9865E6#9865E6

#9865E6 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.1% C 0.189 H 299.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9865E6
RGBrgb(152, 101, 230)
HSLhsl(264, 72%, 65%)
HSVhsv(264, 56%, 90%)
CMYKcmyk(33.9%, 56.1%, 0%, 9.8%)
CIE-LABlab(53.70, 46.97, -58.28)
CIE-LCHlch(53.70, 74.85, 308.86°)
OKLaboklab(62.07% 0.0917 -0.1651)
OKLCHoklch(62.07% 0.189 299.1)
XYZxyz(31.8820, 21.6956, 77.3556)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865E6 #B3E665
analogous
#6573E6 #9865E6 #D965E6
triadic
#9865E6 #E69865 #65E698
tetradic
#9865E6 #E66573 #B3E665 #65E6D9
square
#9865E6 #E66573 #B3E665 #65E6D9
split-complementary
#9865E6 #E6D965 #73E665
monochromatic
#591DB3 #7530DD #9865E6 #BB9AEF #DECEF7

Accessibility & contrast

On white

3.93
#9865E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9865E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865E6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865E6#FFFFFF#000000##000000
##9865E61.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80EA
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#877F9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9865e6;
/* rgb */ color: rgb(152, 101, 230);
/* oklch */ color: oklch(62.1% 0.189 299.1);
Tailwind
colors: {
  custom: {
    50: '#ba93ef',
    500: '#9865e6',
    950: '#000000',
  },
}
SCSS
$custom: #9865e6;
$custom-light: #ba93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9865e6",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 263.721,
    "s": 72.067,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62067,
    "c": 0.18884,
    "h": 299.1
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#9865E6
secondary
#D8E9BD
accent
#D41187
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9865E6

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

Preview Lab → · Contrast checker → · Palette generator →

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