#9875FD#9875FD

#9875FD is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.0% C 0.194 H 292.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9875FD
RGBrgb(152, 117, 253)
HSLhsl(255, 97%, 73%)
HSVhsv(255, 54%, 99%)
CMYKcmyk(39.9%, 53.8%, 0%, 0.8%)
CIE-LABlab(58.50, 44.09, -63.38)
CIE-LCHlch(58.50, 77.21, 304.82°)
OKLaboklab(66.05% 0.0731 -0.18)
OKLCHoklch(66.05% 0.194 292.1)
XYZxyz(37.0350, 26.4888, 96.0710)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875FD #DAFD75
analogous
#7596FD #9875FD #DC75FD
triadic
#9875FD #FD9875 #75FD98
tetradic
#9875FD #FD7596 #DAFD75 #75FDDC
square
#9875FD #FD7596 #DAFD75 #75FDDC
split-complementary
#9875FD #FDDC75 #96FD75
monochromatic
#4104F4 #6B39FC #9875FD #C5B1FE #E8E1FF

Accessibility & contrast

On white

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

On black

6.30
#9875FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875FD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875FD#FFFFFF#000000##000000
##9875FD1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9875fd;
/* rgb */ color: rgb(152, 117, 253);
/* oklch */ color: oklch(66.0% 0.194 292.1);
Tailwind
colors: {
  custom: {
    50: '#bb9eff',
    500: '#9875fd',
    950: '#000000',
  },
}
SCSS
$custom: #9875fd;
$custom-light: #bb9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#9875fd",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 253
  },
  "hsl": {
    "h": 255.441,
    "s": 97.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66049,
    "c": 0.19431,
    "h": 292.1
  },
  "luminance": 0.2649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9875FD

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

Preview Lab → · Contrast checker → · Palette generator →

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