#9875F8#9875F8

#9875F8 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.7% C 0.188 H 292.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9875F8
RGBrgb(152, 117, 248)
HSLhsl(256, 90%, 72%)
HSVhsv(256, 53%, 97%)
CMYKcmyk(38.7%, 52.8%, 0%, 2.7%)
CIE-LABlab(58.20, 42.76, -61.10)
CIE-LCHlch(58.20, 74.57, 304.99°)
OKLaboklab(65.73% 0.0729 -0.1733)
OKLCHoklch(65.73% 0.188 292.8)
XYZxyz(36.2489, 26.1744, 91.9310)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875F8 #D5F875
analogous
#7594F8 #9875F8 #DA75F8
triadic
#9875F8 #F89875 #75F898
tetradic
#9875F8 #F87594 #D5F875 #75F8DA
square
#9875F8 #F87594 #D5F875 #75F8DA
split-complementary
#9875F8 #F8DA75 #94F875
monochromatic
#460CE7 #6D3BF5 #9875F8 #C3AFFB #E9E2FE

Accessibility & contrast

On white

3.37
#9875F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9875F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875F8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875F8#FFFFFF#000000##000000
##9875F81.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFC
Deuteranopia (green-blind)
#4289F5
Tritanopia (blue-blind)
#7F90AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9875f8;
/* rgb */ color: rgb(152, 117, 248);
/* oklch */ color: oklch(65.7% 0.188 292.8);
Tailwind
colors: {
  custom: {
    50: '#bb9dfb',
    500: '#9875f8',
    950: '#000000',
  },
}
SCSS
$custom: #9875f8;
$custom-light: #bb9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9875f8",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 256.031,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65734,
    "c": 0.18804,
    "h": 292.8
  },
  "luminance": 0.26175
}

Semantic roles & 50–950 ramp

primary
#9875F8
secondary
#ECF5D4
accent
#E600A8
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9875F8

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

Preview Lab → · Contrast checker → · Palette generator →

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