#9865FC#9865FC

#9865FC is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.5% C 0.215 H 295.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9865FC
RGBrgb(152, 101, 252)
HSLhsl(260, 96%, 69%)
HSVhsv(260, 60%, 99%)
CMYKcmyk(39.7%, 59.9%, 0%, 1.2%)
CIE-LABlab(55.08, 52.56, -68.33)
CIE-LCHlch(55.08, 86.21, 307.57°)
OKLaboklab(63.52% 0.0913 -0.1946)
OKLCHoklch(63.52% 0.215 295.1)
XYZxyz(35.1686, 23.0103, 94.6651)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865FC #C9FC65
analogous
#657EFC #9865FC #E465FC
triadic
#9865FC #FC9865 #65FC98
tetradic
#9865FC #FC657E #C9FC65 #65FCE4
square
#9865FC #FC657E #C9FC65 #65FCE4
split-complementary
#9865FC #FCE465 #7EFC65
monochromatic
#4F04E2 #7029FB #9865FC #C0A1FD #E8DDFE

Accessibility & contrast

On white

3.75
#9865FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#9865FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865FC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865FC#FFFFFF#000000##000000
##9865FC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#1182F9
Tritanopia (blue-blind)
#7E86A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9865fc;
/* rgb */ color: rgb(152, 101, 252);
/* oklch */ color: oklch(63.5% 0.215 295.1);
Tailwind
colors: {
  custom: {
    50: '#bc93fe',
    500: '#9865fc',
    950: '#000000',
  },
}
SCSS
$custom: #9865fc;
$custom-light: #bc93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9865fc",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 252
  },
  "hsl": {
    "h": 260.265,
    "s": 96.178,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63519,
    "c": 0.21496,
    "h": 295.1
  },
  "luminance": 0.23011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9865FC

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

Preview Lab → · Contrast checker → · Palette generator →

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