#9715B4#9715B4

#9715B4 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.1% C 0.230 H 318.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9715B4
RGBrgb(151, 21, 180)
HSLhsl(289, 79%, 39%)
HSVhsv(289, 88%, 71%)
CMYKcmyk(16.1%, 88.3%, 0%, 29.4%)
CIE-LABlab(38.57, 68.33, -53.84)
CIE-LCHlch(38.57, 86.99, 321.76°)
OKLaboklab(50.14% 0.173 -0.1517)
OKLCHoklch(50.14% 0.23 318.8)
XYZxyz(21.2678, 10.4120, 44.0606)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9715B4 #32B415
analogous
#4815B4 #9715B4 #B41581
triadic
#9715B4 #B49715 #15B497
tetradic
#9715B4 #B44815 #32B415 #1581B4
square
#9715B4 #B44815 #32B415 #1581B4
split-complementary
#9715B4 #81B415 #15B448
monochromatic
#3B0846 #690F7D #9715B4 #C121E5 #D158EC

Accessibility & contrast

On white

6.81
#9715B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9715B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9715B4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9715B4#FFFFFF#000000##FFFFFF
##9715B41.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#225FB1
Tritanopia (blue-blind)
#963F6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9715b4;
/* rgb */ color: rgb(151, 21, 180);
/* oklch */ color: oklch(50.1% 0.230 318.8);
Tailwind
colors: {
  custom: {
    50: '#ba69cb',
    500: '#9715b4',
    950: '#000000',
  },
}
SCSS
$custom: #9715b4;
$custom-light: #ba69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9715b4",
  "rgb": {
    "r": 151,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 289.057,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.2301,
    "h": 318.8
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#9715B4
secondary
#6CCF56
accent
#F63256
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9715B4

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

Preview Lab → · Contrast checker → · Palette generator →

#9715B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva