#9875FA#9875FA

#9875FA is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.191 H 292.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9875FA
RGBrgb(152, 117, 250)
HSLhsl(256, 93%, 72%)
HSVhsv(256, 53%, 98%)
CMYKcmyk(39.2%, 53.2%, 0%, 2%)
CIE-LABlab(58.32, 43.29, -62.01)
CIE-LCHlch(58.32, 75.63, 304.92°)
OKLaboklab(65.86% 0.073 -0.176)
OKLCHoklch(65.86% 0.191 292.5)
XYZxyz(36.5609, 26.2992, 93.5739)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875FA #D7FA75
analogous
#7595FA #9875FA #DA75FA
triadic
#9875FA #FA9875 #75FA98
tetradic
#9875FA #FA7595 #D7FA75 #75FADA
square
#9875FA #FA7595 #D7FA75 #75FADA
split-complementary
#9875FA #FADA75 #95FA75
monochromatic
#4409EC #6C3AF8 #9875FA #C4B0FC #E9E1FE

Accessibility & contrast

On white

3.35
#9875FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#9875FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875FA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875FA#FFFFFF#000000##000000
##9875FA1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#408AF7
Tritanopia (blue-blind)
#7E91AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9875fa;
/* rgb */ color: rgb(152, 117, 250);
/* oklch */ color: oklch(65.9% 0.191 292.5);
Tailwind
colors: {
  custom: {
    50: '#bb9dfd',
    500: '#9875fa',
    950: '#000000',
  },
}
SCSS
$custom: #9875fa;
$custom-light: #bb9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9875fa",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 250
  },
  "hsl": {
    "h": 255.789,
    "s": 93.007,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65859,
    "c": 0.19055,
    "h": 292.5
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#9875FA
secondary
#EDF6D5
accent
#E600A9
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9875FA

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

Preview Lab → · Contrast checker → · Palette generator →

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