#9865F6#9865F6

#9865F6 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.1% C 0.208 H 296.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9865F6
RGBrgb(152, 101, 246)
HSLhsl(261, 89%, 68%)
HSVhsv(261, 59%, 96%)
CMYKcmyk(38.2%, 58.9%, 0%, 3.5%)
CIE-LABlab(54.70, 51.02, -65.63)
CIE-LCHlch(54.70, 83.13, 307.86°)
OKLaboklab(63.11% 0.0915 -0.1867)
OKLCHoklch(63.11% 0.208 296.1)
XYZxyz(34.2328, 22.6359, 89.7365)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865F6 #C3F665
analogous
#657BF6 #9865F6 #E065F6
triadic
#9865F6 #F69865 #65F698
tetradic
#9865F6 #F6657B #C3F665 #65F6E0
square
#9865F6 #F6657B #C3F665 #65F6E0
split-complementary
#9865F6 #F6E065 #7BF665
monochromatic
#530CD4 #712BF3 #9865F6 #BF9FF9 #E5D9FD

Accessibility & contrast

On white

3.80
#9865F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9865F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865F6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865F6#FFFFFF#000000##000000
##9865F61.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#2481F3
Tritanopia (blue-blind)
#8184A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9865f6;
/* rgb */ color: rgb(152, 101, 246);
/* oklch */ color: oklch(63.1% 0.208 296.1);
Tailwind
colors: {
  custom: {
    50: '#bc93fa',
    500: '#9865f6',
    950: '#000000',
  },
}
SCSS
$custom: #9865f6;
$custom-light: #bc93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9865f6",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 246
  },
  "hsl": {
    "h": 261.103,
    "s": 88.957,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.2079,
    "h": 296.1
  },
  "luminance": 0.22637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9865F6

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

Preview Lab → · Contrast checker → · Palette generator →

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