#9117B4#9117B4

#9117B4 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.4% C 0.227 H 316.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9117B4
RGBrgb(145, 23, 180)
HSLhsl(287, 77%, 40%)
HSVhsv(287, 87%, 71%)
CMYKcmyk(19.4%, 87.2%, 0%, 29.4%)
CIE-LABlab(37.71, 66.96, -55.28)
CIE-LCHlch(37.71, 86.83, 320.46°)
OKLaboklab(49.35% 0.1648 -0.1561)
OKLCHoklch(49.35% 0.227 316.5)
XYZxyz(20.2204, 9.9287, 44.0225)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9117B4 #3AB417
analogous
#4217B4 #9117B4 #B41789
triadic
#9117B4 #B49117 #17B491
tetradic
#9117B4 #B44217 #3AB417 #1789B4
square
#9117B4 #B44217 #3AB417 #1789B4
split-complementary
#9117B4 #89B417 #17B442
monochromatic
#3A0947 #65107E #9117B4 #B925E3 #CA5BEA

Accessibility & contrast

On white

7.03
#9117B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9117B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9117B4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9117B4#FFFFFF#000000##FFFFFF
##9117B41.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#155CB1
Tritanopia (blue-blind)
#8F416B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9117b4;
/* rgb */ color: rgb(145, 23, 180);
/* oklch */ color: oklch(49.4% 0.227 316.5);
Tailwind
colors: {
  custom: {
    50: '#b669cb',
    500: '#9117b4',
    950: '#000000',
  },
}
SCSS
$custom: #9117b4;
$custom-light: #b669cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9117b4",
  "rgb": {
    "r": 145,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 286.624,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49351,
    "c": 0.22696,
    "h": 316.5
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#9117B4
secondary
#73CE59
accent
#F4345F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9117B4

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

Preview Lab → · Contrast checker → · Palette generator →

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