#9018B4#9018B4

#9018B4 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.3% C 0.226 H 316.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9018B4
RGBrgb(144, 24, 180)
HSLhsl(286, 76%, 40%)
HSVhsv(286, 87%, 71%)
CMYKcmyk(20%, 86.7%, 0%, 29.4%)
CIE-LABlab(37.62, 66.58, -55.43)
CIE-LCHlch(37.62, 86.64, 320.22°)
OKLaboklab(49.26% 0.163 -0.1566)
OKLCHoklch(49.26% 0.226 316.1)
XYZxyz(20.0652, 9.8787, 44.0210)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9018B4 #3CB418
analogous
#4218B4 #9018B4 #B4188A
triadic
#9018B4 #B49018 #18B490
tetradic
#9018B4 #B44218 #3CB418 #188AB4
square
#9018B4 #B44218 #3CB418 #188AB4
split-complementary
#9018B4 #8AB418 #18B442
monochromatic
#3A0A48 #65117E #9018B4 #B727E2 #C95DE9

Accessibility & contrast

On white

7.06
#9018B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9018B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9018B4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9018B4#FFFFFF#000000##FFFFFF
##9018B41.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9018b4;
/* rgb */ color: rgb(144, 24, 180);
/* oklch */ color: oklch(49.3% 0.226 316.1);
Tailwind
colors: {
  custom: {
    50: '#b669cb',
    500: '#9018b4',
    950: '#000000',
  },
}
SCSS
$custom: #9018b4;
$custom-light: #b669cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9018b4",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 286.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.22602,
    "h": 316.1
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#9018B4
secondary
#75CD5B
accent
#F33561
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9018B4

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

Preview Lab → · Contrast checker → · Palette generator →

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