#9875FF#9875FF

#9875FF is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.197 H 291.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9875FF
RGBrgb(152, 117, 255)
HSLhsl(255, 100%, 73%)
HSVhsv(255, 54%, 100%)
CMYKcmyk(40.4%, 54.1%, 0%, 0%)
CIE-LABlab(58.62, 44.62, -64.29)
CIE-LCHlch(58.62, 78.26, 304.76°)
OKLaboklab(66.18% 0.0731 -0.1827)
OKLCHoklch(66.18% 0.197 291.8)
XYZxyz(37.3553, 26.6169, 97.7578)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875FF #DCFF75
analogous
#7597FF #9875FF #DD75FF
triadic
#9875FF #FF9875 #75FF98
tetradic
#9875FF #FF7597 #DCFF75 #75FFDD
square
#9875FF #FF7597 #DCFF75 #75FFDD
split-complementary
#9875FF #FFDD75 #97FF75
monochromatic
#3F00FA #6A38FF #9875FF #C6B2FF #E8E0FF

Accessibility & contrast

On white

3.32
#9875FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9875FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875FF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875FF#FFFFFF#000000##000000
##9875FF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#398AFC
Tritanopia (blue-blind)
#7C92AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9875ff;
/* rgb */ color: rgb(152, 117, 255);
/* oklch */ color: oklch(66.2% 0.197 291.8);
Tailwind
colors: {
  custom: {
    50: '#bc9eff',
    500: '#9875ff',
    950: '#000000',
  },
}
SCSS
$custom: #9875ff;
$custom-light: #bc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#9875ff",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 255
  },
  "hsl": {
    "h": 255.217,
    "s": 100,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.19681,
    "h": 291.8
  },
  "luminance": 0.26618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9875FF

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

Preview Lab → · Contrast checker → · Palette generator →

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