#9718B4#9718B4

#9718B4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.3% C 0.228 H 318.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9718B4
RGBrgb(151, 24, 180)
HSLhsl(289, 76%, 40%)
HSVhsv(289, 87%, 71%)
CMYKcmyk(16.1%, 86.7%, 0%, 29.4%)
CIE-LABlab(38.78, 67.73, -53.51)
CIE-LCHlch(38.78, 86.32, 321.69°)
OKLaboklab(50.28% 0.1715 -0.1507)
OKLCHoklch(50.28% 0.228 318.7)
XYZxyz(21.3262, 10.5289, 44.0801)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9718B4 #35B418
analogous
#4918B4 #9718B4 #B41883
triadic
#9718B4 #B49718 #18B497
tetradic
#9718B4 #B44918 #35B418 #1883B4
square
#9718B4 #B44918 #35B418 #1883B4
split-complementary
#9718B4 #83B418 #18B449
monochromatic
#3C0A48 #6A117E #9718B4 #BF27E2 #CF5DE9

Accessibility & contrast

On white

6.76
#9718B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9718B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9718B4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9718B4#FFFFFF#000000##FFFFFF
##9718B41.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#96406B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9718b4;
/* rgb */ color: rgb(151, 24, 180);
/* oklch */ color: oklch(50.3% 0.228 318.7);
Tailwind
colors: {
  custom: {
    50: '#ba6acb',
    500: '#9718b4',
    950: '#000000',
  },
}
SCSS
$custom: #9718b4;
$custom-light: #ba6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#9718b4",
  "rgb": {
    "r": 151,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 288.846,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.22831,
    "h": 318.7
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#9718B4
secondary
#70CD5B
accent
#F33558
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9718B4

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

Preview Lab → · Contrast checker → · Palette generator →

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