#9118B4#9118B4

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

Color values

HEX#9118B4
RGBrgb(145, 24, 180)
HSLhsl(287, 76%, 40%)
HSVhsv(287, 87%, 71%)
CMYKcmyk(19.4%, 86.7%, 0%, 29.4%)
CIE-LABlab(37.79, 66.74, -55.16)
CIE-LCHlch(37.79, 86.59, 320.43°)
OKLaboklab(49.4% 0.1642 -0.1558)
OKLCHoklch(49.4% 0.226 316.5)
XYZxyz(20.2406, 9.9692, 44.0292)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9118B4 #3BB418
analogous
#4318B4 #9118B4 #B41889
triadic
#9118B4 #B49118 #18B491
tetradic
#9118B4 #B44318 #3BB418 #1889B4
square
#9118B4 #B44318 #3BB418 #1889B4
split-complementary
#9118B4 #89B418 #18B443
monochromatic
#3A0A48 #65117E #9118B4 #B827E2 #CA5DE9

Accessibility & contrast

On white

7.01
#9118B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9118B4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9118B4#FFFFFF#000000##FFFFFF
##9118B41.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9118b4;
/* rgb */ color: rgb(145, 24, 180);
/* oklch */ color: oklch(49.4% 0.226 316.5);
Tailwind
colors: {
  custom: {
    50: '#b669cb',
    500: '#9118b4',
    950: '#000000',
  },
}
SCSS
$custom: #9118b4;
$custom-light: #b669cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9118b4",
  "rgb": {
    "r": 145,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 286.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.22632,
    "h": 316.5
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

primary
#9118B4
secondary
#74CD5B
accent
#F3355F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9118B4

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

Preview Lab → · Contrast checker → · Palette generator →

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