#9051CB#9051CB

#9051CB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.185 H 305.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9051CB
RGBrgb(144, 81, 203)
HSLhsl(271, 54%, 56%)
HSVhsv(271, 60%, 80%)
CMYKcmyk(29.1%, 60.1%, 0%, 20.4%)
CIE-LABlab(47.14, 49.15, -53.52)
CIE-LCHlch(47.14, 72.66, 312.56°)
OKLaboklab(56.54% 0.106 -0.1513)
OKLCHoklch(56.54% 0.185 305)
XYZxyz(25.2212, 16.1261, 58.2723)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051CB #8CCB51
analogous
#5351CB #9051CB #CB51C9
triadic
#9051CB #CB9051 #51CB90
tetradic
#9051CB #CB5351 #8CCB51 #51C9CB
square
#9051CB #CB5351 #8CCB51 #51C9CB
split-complementary
#9051CB #C9CB51 #51CB53
monochromatic
#52257C #7133AC #9051CB #AE80D9 #CCAFE7

Accessibility & contrast

On white

4.97
#9051CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9051CB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051CB#FFFFFF#000000##FFFFFF
##9051CB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ECF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#866A86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9051cb;
/* rgb */ color: rgb(144, 81, 203);
/* oklch */ color: oklch(56.5% 0.185 305.0);
Tailwind
colors: {
  custom: {
    50: '#b485db',
    500: '#9051cb',
    950: '#000000',
  },
}
SCSS
$custom: #9051cb;
$custom-light: #b485db;
$custom-dark: #000000;
JSON
{
  "hex": "#9051cb",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 270.984,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.18472,
    "h": 305
  },
  "luminance": 0.16126
}

Semantic roles & 50–950 ramp

primary
#9051CB
secondary
#BBD5A3
accent
#DD4A91
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9051CB

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

Preview Lab → · Contrast checker → · Palette generator →

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