#9054CB#9054CB

#9054CB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.180 H 304.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9054CB
RGBrgb(144, 84, 203)
HSLhsl(270, 53%, 56%)
HSVhsv(270, 59%, 80%)
CMYKcmyk(29.1%, 58.6%, 0%, 20.4%)
CIE-LABlab(47.73, 47.57, -52.57)
CIE-LCHlch(47.73, 70.90, 312.14°)
OKLaboklab(56.97% 0.1023 -0.1485)
OKLCHoklch(56.97% 0.18 304.6)
XYZxyz(25.4490, 16.5819, 58.3482)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054CB #8FCB54
analogous
#5554CB #9054CB #CB54CB
triadic
#9054CB #CB9054 #54CB90
tetradic
#9054CB #CB5554 #8FCB54 #54CBCB
square
#9054CB #CB5554 #8FCB54 #54CBCB
split-complementary
#9054CB #CBCB54 #54CB55
monochromatic
#53267E #7135AD #9054CB #AE83D9 #CDB2E8

Accessibility & contrast

On white

4.87
#9054CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9054CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054CB#FFFFFF#000000##FFFFFF
##9054CB1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70CF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#866C87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9054cb;
/* rgb */ color: rgb(144, 84, 203);
/* oklch */ color: oklch(57.0% 0.180 304.6);
Tailwind
colors: {
  custom: {
    50: '#b487db',
    500: '#9054cb',
    950: '#000000',
  },
}
SCSS
$custom: #9054cb;
$custom-light: #b487db;
$custom-dark: #000000;
JSON
{
  "hex": "#9054cb",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 270.252,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56966,
    "c": 0.18034,
    "h": 304.6
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#9054CB
secondary
#BDD6A5
accent
#DD4B93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9054CB

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

Preview Lab → · Contrast checker → · Palette generator →

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