#9865F1#9865F1

#9865F1 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.8% C 0.202 H 297.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9865F1
RGBrgb(152, 101, 241)
HSLhsl(262, 83%, 67%)
HSVhsv(262, 58%, 95%)
CMYKcmyk(36.9%, 58.1%, 0%, 5.5%)
CIE-LABlab(54.38, 49.75, -63.35)
CIE-LCHlch(54.38, 80.55, 308.14°)
OKLaboklab(62.78% 0.0917 -0.18)
OKLCHoklch(62.78% 0.202 297)
XYZxyz(33.4757, 22.3331, 85.7491)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865F1 #BEF165
analogous
#6578F1 #9865F1 #DE65F1
triadic
#9865F1 #F19865 #65F198
tetradic
#9865F1 #F16578 #BEF165 #65F1DE
square
#9865F1 #F16578 #BEF165 #65F1DE
split-complementary
#9865F1 #F1DE65 #78F165
monochromatic
#5512C9 #722DEC #9865F1 #BE9DF6 #E3D5FB

Accessibility & contrast

On white

3.84
#9865F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9865F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865F1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865F1#FFFFFF#000000##000000
##9865F11.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F83F6
Deuteranopia (green-blind)
#2E80EE
Tritanopia (blue-blind)
#8383A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9865f1;
/* rgb */ color: rgb(152, 101, 241);
/* oklch */ color: oklch(62.8% 0.202 297.0);
Tailwind
colors: {
  custom: {
    50: '#bb93f6',
    500: '#9865f1',
    950: '#000000',
  },
}
SCSS
$custom: #9865f1;
$custom-light: #bb93f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9865f1",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 241
  },
  "hsl": {
    "h": 261.857,
    "s": 83.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6278,
    "c": 0.20197,
    "h": 297
  },
  "luminance": 0.22334
}

Semantic roles & 50–950 ramp

primary
#9865F1
secondary
#DFEFC3
accent
#E00690
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865F1

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

Preview Lab → · Contrast checker → · Palette generator →

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