#9054CD#9054CD

#9054CD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.183 H 304.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9054CD
RGBrgb(144, 84, 205)
HSLhsl(270, 55%, 57%)
HSVhsv(270, 59%, 80%)
CMYKcmyk(29.8%, 59%, 0%, 19.6%)
CIE-LABlab(47.85, 48.05, -53.53)
CIE-LCHlch(47.85, 71.93, 311.92°)
OKLaboklab(57.1% 0.1023 -0.1513)
OKLCHoklch(57.1% 0.183 304)
XYZxyz(25.6889, 16.6778, 59.6116)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054CD #91CD54
analogous
#5455CD #9054CD #CD54CD
triadic
#9054CD #CD9054 #54CD90
tetradic
#9054CD #CD5455 #91CD54 #54CDCD
square
#9054CD #CD5455 #91CD54 #54CDCD
split-complementary
#9054CD #CDCD54 #55CD54
monochromatic
#532681 #7134B0 #9054CD #AF83DB #CDB3E9

Accessibility & contrast

On white

4.84
#9054CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9054CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054CD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054CD#FFFFFF#000000##FFFFFF
##9054CD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#3871CA
Tritanopia (blue-blind)
#856C88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9054cd;
/* rgb */ color: rgb(144, 84, 205);
/* oklch */ color: oklch(57.1% 0.183 304.0);
Tailwind
colors: {
  custom: {
    50: '#b487dd',
    500: '#9054cd',
    950: '#000000',
  },
}
SCSS
$custom: #9054cd;
$custom-light: #b487dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9054cd",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 269.752,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.18264,
    "h": 304
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#9054CD
secondary
#BFD7A6
accent
#DE4A95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9054CD

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

Preview Lab → · Contrast checker → · Palette generator →

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