#9865FD#9865FD

#9865FD is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.6% C 0.216 H 295.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9865FD
RGBrgb(152, 101, 253)
HSLhsl(260, 97%, 69%)
HSVhsv(260, 60%, 99%)
CMYKcmyk(39.9%, 60.1%, 0%, 0.8%)
CIE-LABlab(55.15, 52.82, -68.78)
CIE-LCHlch(55.15, 86.72, 307.53°)
OKLaboklab(63.59% 0.0913 -0.1959)
OKLCHoklch(63.59% 0.216 295)
XYZxyz(35.3275, 23.0738, 95.5019)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865FD #CAFD65
analogous
#657EFD #9865FD #E465FD
triadic
#9865FD #FD9865 #65FD98
tetradic
#9865FD #FD657E #CAFD65 #65FDE4
square
#9865FD #FD657E #CAFD65 #65FDE4
split-complementary
#9865FD #FDE465 #7EFD65
monochromatic
#4F03E5 #7029FC #9865FD #C0A1FE #E9DEFF

Accessibility & contrast

On white

3.74
#9865FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9865FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865FD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865FD#FFFFFF#000000##000000
##9865FD1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0B82FA
Tritanopia (blue-blind)
#7E87A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9865fd;
/* rgb */ color: rgb(152, 101, 253);
/* oklch */ color: oklch(63.6% 0.216 295.0);
Tailwind
colors: {
  custom: {
    50: '#bc93ff',
    500: '#9865fd',
    950: '#000000',
  },
}
SCSS
$custom: #9865fd;
$custom-light: #bc93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9865fd",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 253
  },
  "hsl": {
    "h": 260.132,
    "s": 97.436,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63587,
    "c": 0.21613,
    "h": 295
  },
  "luminance": 0.23075
}

Semantic roles & 50–950 ramp

primary
#9865FD
secondary
#E6F5C9
accent
#E60098
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9865FD

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

Preview Lab → · Contrast checker → · Palette generator →

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