#9868F0#9868F0

#9868F0 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.197 H 296.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9868F0
RGBrgb(152, 104, 240)
HSLhsl(261, 82%, 67%)
HSVhsv(261, 57%, 94%)
CMYKcmyk(36.7%, 56.7%, 0%, 5.9%)
CIE-LABlab(54.93, 47.87, -61.90)
CIE-LCHlch(54.93, 78.25, 307.72°)
OKLaboklab(63.17% 0.0882 -0.1757)
OKLCHoklch(63.17% 0.197 296.6)
XYZxyz(33.6234, 22.8667, 85.0634)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868F0 #C0F068
analogous
#687CF0 #9868F0 #DC68F0
triadic
#9868F0 #F09868 #68F098
tetradic
#9868F0 #F0687C #C0F068 #68F0DC
square
#9868F0 #F0687C #C0F068 #68F0DC
split-complementary
#9868F0 #F0DC68 #7CF068
monochromatic
#5414CA #7230EA #9868F0 #BEA0F6 #E4D7FB

Accessibility & contrast

On white

3.77
#9868F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9868F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868F0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868F0#FFFFFF#000000##000000
##9868F01.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F4
Deuteranopia (green-blind)
#3582ED
Tritanopia (blue-blind)
#8385A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9868f0;
/* rgb */ color: rgb(152, 104, 240);
/* oklch */ color: oklch(63.2% 0.197 296.6);
Tailwind
colors: {
  custom: {
    50: '#bb95f6',
    500: '#9868f0',
    950: '#000000',
  },
}
SCSS
$custom: #9868f0;
$custom-light: #bb95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9868f0",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 240
  },
  "hsl": {
    "h": 261.176,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63168,
    "c": 0.19659,
    "h": 296.6
  },
  "luminance": 0.22867
}

Semantic roles & 50–950 ramp

primary
#9868F0
secondary
#E0EFC5
accent
#DE0792
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868F0

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

Preview Lab → · Contrast checker → · Palette generator →

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