#9875F9#9875F9

#9875F9 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.8% C 0.189 H 292.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9875F9
RGBrgb(152, 117, 249)
HSLhsl(256, 92%, 72%)
HSVhsv(256, 53%, 98%)
CMYKcmyk(39%, 53%, 0%, 2.4%)
CIE-LABlab(58.26, 43.02, -61.55)
CIE-LCHlch(58.26, 75.10, 304.95°)
OKLaboklab(65.8% 0.0729 -0.1747)
OKLCHoklch(65.8% 0.189 292.7)
XYZxyz(36.4045, 26.2366, 92.7503)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875F9 #D6F975
analogous
#7594F9 #9875F9 #DA75F9
triadic
#9875F9 #F99875 #75F998
tetradic
#9875F9 #F97594 #D6F975 #75F9DA
square
#9875F9 #F97594 #D6F975 #75F9DA
split-complementary
#9875F9 #F9DA75 #94F975
monochromatic
#450AE9 #6C3AF6 #9875F9 #C4B0FC #E9E2FE

Accessibility & contrast

On white

3.36
#9875F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9875F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875F9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875F9#FFFFFF#000000##000000
##9875F91.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#418AF6
Tritanopia (blue-blind)
#7F90AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9875f9;
/* rgb */ color: rgb(152, 117, 249);
/* oklch */ color: oklch(65.8% 0.189 292.7);
Tailwind
colors: {
  custom: {
    50: '#bb9dfc',
    500: '#9875f9',
    950: '#000000',
  },
}
SCSS
$custom: #9875f9;
$custom-light: #bb9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9875f9",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 249
  },
  "hsl": {
    "h": 255.909,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65797,
    "c": 0.18929,
    "h": 292.7
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

primary
#9875F9
secondary
#EDF6D4
accent
#E600A9
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9875F9

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

Preview Lab → · Contrast checker → · Palette generator →

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