#9868FC#9868FC

#9868FC is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.0% C 0.211 H 294.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9868FC
RGBrgb(152, 104, 252)
HSLhsl(259, 96%, 70%)
HSVhsv(259, 59%, 99%)
CMYKcmyk(39.7%, 58.7%, 0%, 1.2%)
CIE-LABlab(55.69, 50.96, -67.35)
CIE-LCHlch(55.69, 84.46, 307.11°)
OKLaboklab(63.96% 0.088 -0.1917)
OKLCHoklch(63.96% 0.211 294.6)
XYZxyz(35.4653, 23.6035, 94.7640)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868FC #CCFC68
analogous
#6882FC #9868FC #E268FC
triadic
#9868FC #FC9868 #68FC98
tetradic
#9868FC #FC6882 #CCFC68 #68FCE2
square
#9868FC #FC6882 #CCFC68 #68FCE2
split-complementary
#9868FC #FCE268 #82FC68
monochromatic
#4D05E5 #6F2CFB #9868FC #C1A4FD #EAE0FE

Accessibility & contrast

On white

3.67
#9868FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9868FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868FC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868FC#FFFFFF#000000##000000
##9868FC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#1D83F9
Tritanopia (blue-blind)
#7E88A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9868fc;
/* rgb */ color: rgb(152, 104, 252);
/* oklch */ color: oklch(64.0% 0.211 294.6);
Tailwind
colors: {
  custom: {
    50: '#bc95fe',
    500: '#9868fc',
    950: '#000000',
  },
}
SCSS
$custom: #9868fc;
$custom-light: #bc95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9868fc",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 259.459,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63961,
    "c": 0.21095,
    "h": 294.6
  },
  "luminance": 0.23604
}

Semantic roles & 50–950 ramp

primary
#9868FC
secondary
#E7F5CB
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9868FC

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

Preview Lab → · Contrast checker → · Palette generator →

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