#9875DC#9875DC

#9875DC is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.1% C 0.152 H 297.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9875DC
RGBrgb(152, 117, 220)
HSLhsl(260, 60%, 66%)
HSVhsv(260, 47%, 86%)
CMYKcmyk(30.9%, 46.8%, 0%, 13.7%)
CIE-LABlab(56.65, 35.51, -47.96)
CIE-LCHlch(56.65, 59.68, 306.51°)
OKLaboklab(64.07% 0.0706 -0.1349)
OKLCHoklch(64.07% 0.152 297.6)
XYZxyz(32.2253, 24.5649, 70.7400)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875DC #B9DC75
analogous
#7585DC #9875DC #CB75DC
triadic
#9875DC #DC9875 #75DC98
tetradic
#9875DC #DC7585 #B9DC75 #75DCCB
square
#9875DC #DC7585 #B9DC75 #75DCCB
split-complementary
#9875DC #DCCB75 #85DC75
monochromatic
#572BAB #7444D0 #9875DC #BCA6E8 #E1D7F5

Accessibility & contrast

On white

3.55
#9875DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9875DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875DC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875DC#FFFFFF#000000##000000
##9875DC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#5B87D9
Tritanopia (blue-blind)
#8A889E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9875dc;
/* rgb */ color: rgb(152, 117, 220);
/* oklch */ color: oklch(64.1% 0.152 297.6);
Tailwind
colors: {
  custom: {
    50: '#b99de7',
    500: '#9875dc',
    950: '#000000',
  },
}
SCSS
$custom: #9875dc;
$custom-light: #b99de7;
$custom-dark: #000000;
JSON
{
  "hex": "#9875dc",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 260.388,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64074,
    "c": 0.15222,
    "h": 297.6
  },
  "luminance": 0.24565
}

Semantic roles & 50–950 ramp

primary
#9875DC
secondary
#DCE7C5
accent
#C71E8E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9875DC

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

Preview Lab → · Contrast checker → · Palette generator →

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