#9865F5#9865F5

#9865F5 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.0% C 0.207 H 296.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9865F5
RGBrgb(152, 101, 245)
HSLhsl(261, 88%, 68%)
HSVhsv(261, 59%, 96%)
CMYKcmyk(38%, 58.8%, 0%, 3.9%)
CIE-LABlab(54.63, 50.77, -65.17)
CIE-LCHlch(54.63, 82.61, 307.92°)
OKLaboklab(63.05% 0.0916 -0.1853)
OKLCHoklch(63.05% 0.207 296.3)
XYZxyz(34.0798, 22.5747, 88.9303)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865F5 #C2F565
analogous
#657AF5 #9865F5 #E065F5
triadic
#9865F5 #F59865 #65F598
tetradic
#9865F5 #F5657A #C2F565 #65F5E0
square
#9865F5 #F5657A #C2F565 #65F5E0
split-complementary
#9865F5 #F5E065 #7AF565
monochromatic
#530ED2 #722CF1 #9865F5 #BE9EF9 #E5D8FC

Accessibility & contrast

On white

3.81
#9865F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9865F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865F5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865F5#FFFFFF#000000##000000
##9865F51.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#2681F2
Tritanopia (blue-blind)
#8184A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9865f5;
/* rgb */ color: rgb(152, 101, 245);
/* oklch */ color: oklch(63.0% 0.207 296.3);
Tailwind
colors: {
  custom: {
    50: '#bc93f9',
    500: '#9865f5',
    950: '#000000',
  },
}
SCSS
$custom: #9865f5;
$custom-light: #bc93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9865f5",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 245
  },
  "hsl": {
    "h": 261.25,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63046,
    "c": 0.20671,
    "h": 296.3
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#9865F5
secondary
#E1F1C5
accent
#E40194
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865F5

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

Preview Lab → · Contrast checker → · Palette generator →

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