#9868FF#9868FF

#9868FF is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.2% C 0.215 H 294.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9868FF
RGBrgb(152, 104, 255)
HSLhsl(259, 100%, 70%)
HSVhsv(259, 59%, 100%)
CMYKcmyk(40.4%, 59.2%, 0%, 0%)
CIE-LABlab(55.88, 51.74, -68.70)
CIE-LCHlch(55.88, 86.00, 306.99°)
OKLaboklab(64.16% 0.0879 -0.1957)
OKLCHoklch(64.16% 0.215 294.2)
XYZxyz(35.9444, 23.7952, 97.2875)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868FF #CFFF68
analogous
#6883FF #9868FF #E468FF
triadic
#9868FF #FF9868 #68FF98
tetradic
#9868FF #FF6883 #CFFF68 #68FFE4
square
#9868FF #FF6883 #CFFF68 #68FFE4
split-complementary
#9868FF #FFE468 #83FF68
monochromatic
#4B00ED #6E2BFF #9868FF #C2A5FF #EAE0FF

Accessibility & contrast

On white

3.65
#9868FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9868FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868FF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868FF#FFFFFF#000000##000000
##9868FF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#1383FC
Tritanopia (blue-blind)
#7D89AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9868ff;
/* rgb */ color: rgb(152, 104, 255);
/* oklch */ color: oklch(64.2% 0.215 294.2);
Tailwind
colors: {
  custom: {
    50: '#bc95ff',
    500: '#9868ff',
    950: '#000000',
  },
}
SCSS
$custom: #9868ff;
$custom-light: #bc95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9868ff",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 255
  },
  "hsl": {
    "h": 259.073,
    "s": 100,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64164,
    "c": 0.21451,
    "h": 294.2
  },
  "luminance": 0.23796
}

Semantic roles & 50–950 ramp

primary
#9868FF
secondary
#E9F6CD
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9868FF

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

Preview Lab → · Contrast checker → · Palette generator →

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