#9868F3#9868F3

#9868F3 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.4% C 0.200 H 296.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9868F3
RGBrgb(152, 104, 243)
HSLhsl(261, 85%, 68%)
HSVhsv(261, 57%, 95%)
CMYKcmyk(37.4%, 57.2%, 0%, 4.7%)
CIE-LABlab(55.12, 48.64, -63.27)
CIE-LCHlch(55.12, 79.81, 307.55°)
OKLaboklab(63.36% 0.0882 -0.1797)
OKLCHoklch(63.36% 0.2 296.1)
XYZxyz(34.0727, 23.0465, 87.4299)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868F3 #C3F368
analogous
#687EF3 #9868F3 #DD68F3
triadic
#9868F3 #F39868 #68F398
tetradic
#9868F3 #F3687E #C3F368 #68F3DD
square
#9868F3 #F3687E #C3F368 #68F3DD
split-complementary
#9868F3 #F3DD68 #7EF368
monochromatic
#5311D0 #712FEE #9868F3 #BFA1F8 #E5D9FC

Accessibility & contrast

On white

3.74
#9868F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9868F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868F3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868F3#FFFFFF#000000##000000
##9868F31.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)
#1985F8
Deuteranopia (green-blind)
#3182F0
Tritanopia (blue-blind)
#8286A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9868f3;
/* rgb */ color: rgb(152, 104, 243);
/* oklch */ color: oklch(63.4% 0.200 296.1);
Tailwind
colors: {
  custom: {
    50: '#bb95f8',
    500: '#9868f3',
    950: '#000000',
  },
}
SCSS
$custom: #9868f3;
$custom-light: #bb95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9868f3",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 243
  },
  "hsl": {
    "h": 260.719,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63363,
    "c": 0.20019,
    "h": 296.1
  },
  "luminance": 0.23047
}

Semantic roles & 50–950 ramp

primary
#9868F3
secondary
#E2F1C6
accent
#E20495
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868F3

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

Preview Lab → · Contrast checker → · Palette generator →

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