#9868F8#9868F8

#9868F8 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.7% C 0.206 H 295.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9868F8
RGBrgb(152, 104, 248)
HSLhsl(260, 91%, 69%)
HSVhsv(260, 58%, 97%)
CMYKcmyk(38.7%, 58.1%, 0%, 2.7%)
CIE-LABlab(55.43, 49.92, -65.55)
CIE-LCHlch(55.43, 82.39, 307.30°)
OKLaboklab(63.69% 0.0881 -0.1864)
OKLCHoklch(63.69% 0.206 295.3)
XYZxyz(34.8381, 23.3526, 91.4607)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868F8 #C8F868
analogous
#6880F8 #9868F8 #E068F8
triadic
#9868F8 #F89868 #68F898
tetradic
#9868F8 #F86880 #C8F868 #68F8E0
square
#9868F8 #F86880 #C8F868 #68F8E0
split-complementary
#9868F8 #F8E068 #80F868
monochromatic
#500ADB #702EF5 #9868F8 #C0A2FB #E8DDFD

Accessibility & contrast

On white

3.70
#9868F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9868F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868F8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868F8#FFFFFF#000000##000000
##9868F81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0486FD
Deuteranopia (green-blind)
#2783F5
Tritanopia (blue-blind)
#8087A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9868f8;
/* rgb */ color: rgb(152, 104, 248);
/* oklch */ color: oklch(63.7% 0.206 295.3);
Tailwind
colors: {
  custom: {
    50: '#bc95fb',
    500: '#9868f8',
    950: '#000000',
  },
}
SCSS
$custom: #9868f8;
$custom-light: #bc95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9868f8",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 260,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63693,
    "c": 0.20618,
    "h": 295.3
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#9868F8
secondary
#E5F3C9
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868F8

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

Preview Lab → · Contrast checker → · Palette generator →

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