#9054CA#9054CA

#9054CA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.179 H 304.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9054CA
RGBrgb(144, 84, 202)
HSLhsl(271, 53%, 56%)
HSVhsv(271, 58%, 79%)
CMYKcmyk(28.7%, 58.4%, 0%, 20.8%)
CIE-LABlab(47.67, 47.33, -52.10)
CIE-LCHlch(47.67, 70.39, 312.26°)
OKLaboklab(56.9% 0.1023 -0.1471)
OKLCHoklch(56.9% 0.179 304.8)
XYZxyz(25.3303, 16.5343, 57.7227)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054CA #8ECA54
analogous
#5554CA #9054CA #CA54C9
triadic
#9054CA #CA9054 #54CA90
tetradic
#9054CA #CA5554 #8ECA54 #54C9CA
square
#9054CA #CA5554 #8ECA54 #54C9CA
split-complementary
#9054CA #C9CA54 #54CA55
monochromatic
#53277D #7135AC #9054CA #AE83D8 #CDB1E7

Accessibility & contrast

On white

4.88
#9054CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9054CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054CA#FFFFFF#000000##FFFFFF
##9054CA1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#866B87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9054ca;
/* rgb */ color: rgb(144, 84, 202);
/* oklch */ color: oklch(56.9% 0.179 304.8);
Tailwind
colors: {
  custom: {
    50: '#b487db',
    500: '#9054ca',
    950: '#000000',
  },
}
SCSS
$custom: #9054ca;
$custom-light: #b487db;
$custom-dark: #000000;
JSON
{
  "hex": "#9054ca",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 270.508,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56902,
    "c": 0.17919,
    "h": 304.8
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#9054CA
secondary
#BCD5A5
accent
#DC4C93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9054CA

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

Preview Lab → · Contrast checker → · Palette generator →

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