#9051CD#9051CD

#9051CD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.187 H 304.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9051CD
RGBrgb(144, 81, 205)
HSLhsl(270, 55%, 56%)
HSVhsv(270, 60%, 80%)
CMYKcmyk(29.8%, 60.5%, 0%, 19.6%)
CIE-LABlab(47.26, 49.62, -54.47)
CIE-LCHlch(47.26, 73.68, 312.34°)
OKLaboklab(56.67% 0.1059 -0.1541)
OKLCHoklch(56.67% 0.187 304.5)
XYZxyz(25.4610, 16.2220, 59.5356)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051CD #8ECD51
analogous
#5251CD #9051CD #CD51CC
triadic
#9051CD #CD9051 #51CD90
tetradic
#9051CD #CD5251 #8ECD51 #51CCCD
square
#9051CD #CD5251 #8ECD51 #51CCCD
split-complementary
#9051CD #CCCD51 #51CD52
monochromatic
#53257F #7132AF #9051CD #AE81DB #CDB0E8

Accessibility & contrast

On white

4.95
#9051CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9051CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051CD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051CD#FFFFFF#000000##FFFFFF
##9051CD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6ED1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#856A87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9051cd;
/* rgb */ color: rgb(144, 81, 205);
/* oklch */ color: oklch(56.7% 0.187 304.5);
Tailwind
colors: {
  custom: {
    50: '#b485dd',
    500: '#9051cd',
    950: '#000000',
  },
}
SCSS
$custom: #9051cd;
$custom-light: #b485dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9051cd",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 270.484,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56667,
    "c": 0.18699,
    "h": 304.5
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

primary
#9051CD
secondary
#BCD7A3
accent
#DF4993
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9051CD

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

Preview Lab → · Contrast checker → · Palette generator →

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