#9417B4#9417B4

#9417B4 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.8% C 0.228 H 317.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9417B4
RGBrgb(148, 23, 180)
HSLhsl(288, 77%, 40%)
HSVhsv(288, 87%, 71%)
CMYKcmyk(17.8%, 87.2%, 0%, 29.4%)
CIE-LABlab(38.21, 67.44, -54.45)
CIE-LCHlch(38.21, 86.68, 321.08°)
OKLaboklab(49.79% 0.1684 -0.1536)
OKLCHoklch(49.79% 0.228 317.6)
XYZxyz(20.7562, 10.2050, 44.0476)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9417B4 #37B417
analogous
#4617B4 #9417B4 #B41785
triadic
#9417B4 #B49417 #17B494
tetradic
#9417B4 #B44617 #37B417 #1785B4
square
#9417B4 #B44617 #37B417 #1785B4
split-complementary
#9417B4 #85B417 #17B446
monochromatic
#3B0947 #67107E #9417B4 #BC25E3 #CD5BEA

Accessibility & contrast

On white

6.91
#9417B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9417B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9417B4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9417B4#FFFFFF#000000##FFFFFF
##9417B41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#1D5DB1
Tritanopia (blue-blind)
#92416B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9417b4;
/* rgb */ color: rgb(148, 23, 180);
/* oklch */ color: oklch(49.8% 0.228 317.6);
Tailwind
colors: {
  custom: {
    50: '#b869cb',
    500: '#9417b4',
    950: '#000000',
  },
}
SCSS
$custom: #9417b4;
$custom-light: #b869cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9417b4",
  "rgb": {
    "r": 148,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 287.771,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.22793,
    "h": 317.6
  },
  "luminance": 0.10204
}

Semantic roles & 50–950 ramp

primary
#9417B4
secondary
#71CE59
accent
#F4345B
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9417B4

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

Preview Lab → · Contrast checker → · Palette generator →

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