#9051CC#9051CC

#9051CC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.186 H 304.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9051CC
RGBrgb(144, 81, 204)
HSLhsl(271, 55%, 56%)
HSVhsv(271, 60%, 80%)
CMYKcmyk(29.4%, 60.3%, 0%, 20%)
CIE-LABlab(47.20, 49.39, -53.99)
CIE-LCHlch(47.20, 73.17, 312.45°)
OKLaboklab(56.6% 0.106 -0.1527)
OKLCHoklch(56.6% 0.186 304.8)
XYZxyz(25.3407, 16.1739, 58.9019)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051CC #8DCC51
analogous
#5251CC #9051CC #CC51CA
triadic
#9051CC #CC9051 #51CC90
tetradic
#9051CC #CC5251 #8DCC51 #51CACC
square
#9051CC #CC5251 #8DCC51 #51CACC
split-complementary
#9051CC #CACC51 #51CC52
monochromatic
#52257E #7133AD #9051CC #AE80DA #CCB0E8

Accessibility & contrast

On white

4.96
#9051CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9051CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051CC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051CC#FFFFFF#000000##FFFFFF
##9051CC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ED0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#856A87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9051cc;
/* rgb */ color: rgb(144, 81, 204);
/* oklch */ color: oklch(56.6% 0.186 304.8);
Tailwind
colors: {
  custom: {
    50: '#b485dc',
    500: '#9051cc',
    950: '#000000',
  },
}
SCSS
$custom: #9051cc;
$custom-light: #b485dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9051cc",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 270.732,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.18585,
    "h": 304.8
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#9051CC
secondary
#BCD6A3
accent
#DE4A92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9051CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9051CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva