#9865F7#9865F7

#9865F7 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.2% C 0.209 H 296.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9865F7
RGBrgb(152, 101, 247)
HSLhsl(261, 90%, 68%)
HSVhsv(261, 59%, 97%)
CMYKcmyk(38.5%, 59.1%, 0%, 3.1%)
CIE-LABlab(54.76, 51.28, -66.08)
CIE-LCHlch(54.76, 83.64, 307.81°)
OKLaboklab(63.18% 0.0915 -0.188)
OKLCHoklch(63.18% 0.209 296)
XYZxyz(34.3867, 22.6975, 90.5470)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865F7 #C4F765
analogous
#657BF7 #9865F7 #E165F7
triadic
#9865F7 #F79865 #65F798
tetradic
#9865F7 #F7657B #C4F765 #65F7E1
square
#9865F7 #F7657B #C4F765 #65F7E1
split-complementary
#9865F7 #F7E165 #7BF765
monochromatic
#520BD6 #712BF4 #9865F7 #BF9FFA #E6D9FD

Accessibility & contrast

On white

3.79
#9865F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9865F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865F7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865F7#FFFFFF#000000##000000
##9865F71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#2181F4
Tritanopia (blue-blind)
#8185A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9865f7;
/* rgb */ color: rgb(152, 101, 247);
/* oklch */ color: oklch(63.2% 0.209 296.0);
Tailwind
colors: {
  custom: {
    50: '#bc93fb',
    500: '#9865f7',
    950: '#000000',
  },
}
SCSS
$custom: #9865f7;
$custom-light: #bc93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9865f7",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 247
  },
  "hsl": {
    "h": 260.959,
    "s": 90.123,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6318,
    "c": 0.20908,
    "h": 296
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#9865F7
secondary
#E3F2C6
accent
#E60095
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865F7

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

Preview Lab → · Contrast checker → · Palette generator →

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