#9875FE#9875FE

#9875FE is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.1% C 0.196 H 291.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9875FE
RGBrgb(152, 117, 254)
HSLhsl(255, 99%, 73%)
HSVhsv(255, 54%, 100%)
CMYKcmyk(40.2%, 53.9%, 0%, 0.4%)
CIE-LABlab(58.56, 44.35, -63.84)
CIE-LCHlch(58.56, 77.73, 304.79°)
OKLaboklab(66.11% 0.0731 -0.1814)
OKLCHoklch(66.11% 0.196 291.9)
XYZxyz(37.1947, 26.5527, 96.9122)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875FE #DBFE75
analogous
#7597FE #9875FE #DC75FE
triadic
#9875FE #FE9875 #75FE98
tetradic
#9875FE #FE7597 #DBFE75 #75FEDC
square
#9875FE #FE7597 #DBFE75 #75FEDC
split-complementary
#9875FE #FEDC75 #97FE75
monochromatic
#4002F7 #6B38FE #9875FE #C5B2FE #E8E1FF

Accessibility & contrast

On white

3.33
#9875FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9875FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875FE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875FE#FFFFFF#000000##000000
##9875FE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#328FFF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#7D92AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9875fe;
/* rgb */ color: rgb(152, 117, 254);
/* oklch */ color: oklch(66.1% 0.196 291.9);
Tailwind
colors: {
  custom: {
    50: '#bc9eff',
    500: '#9875fe',
    950: '#000000',
  },
}
SCSS
$custom: #9875fe;
$custom-light: #bc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#9875fe",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 254
  },
  "hsl": {
    "h": 255.328,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66112,
    "c": 0.19556,
    "h": 291.9
  },
  "luminance": 0.26554
}

Semantic roles & 50–950 ramp

primary
#9875FE
secondary
#EEF7D4
accent
#E600AB
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9875FE

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

Preview Lab → · Contrast checker → · Palette generator →

#9875FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva