#9868FB#9868FB

#9868FB is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.9% C 0.210 H 294.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9868FB
RGBrgb(152, 104, 251)
HSLhsl(260, 95%, 70%)
HSVhsv(260, 59%, 98%)
CMYKcmyk(39.4%, 58.6%, 0%, 1.6%)
CIE-LABlab(55.62, 50.70, -66.90)
CIE-LCHlch(55.62, 83.94, 307.16°)
OKLaboklab(63.89% 0.088 -0.1904)
OKLCHoklch(63.89% 0.21 294.8)
XYZxyz(35.3072, 23.5403, 93.9316)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868FB #CBFB68
analogous
#6882FB #9868FB #E268FB
triadic
#9868FB #FB9868 #68FB98
tetradic
#9868FB #FB6882 #CBFB68 #68FBE2
square
#9868FB #FB6882 #CBFB68 #68FBE2
split-complementary
#9868FB #FBE268 #82FB68
monochromatic
#4E06E3 #6F2CF9 #9868FB #C1A4FD #E9DFFE

Accessibility & contrast

On white

3.68
#9868FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#9868FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868FB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868FB#FFFFFF#000000##000000
##9868FB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#2083F8
Tritanopia (blue-blind)
#7F88A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9868fb;
/* rgb */ color: rgb(152, 104, 251);
/* oklch */ color: oklch(63.9% 0.210 294.8);
Tailwind
colors: {
  custom: {
    50: '#bc95fd',
    500: '#9868fb',
    950: '#000000',
  },
}
SCSS
$custom: #9868fb;
$custom-light: #bc95fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9868fb",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 259.592,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63894,
    "c": 0.20976,
    "h": 294.8
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#9868FB
secondary
#E7F4CA
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9868FB

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

Preview Lab → · Contrast checker → · Palette generator →

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