#9054D3#9054D3

#9054D3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.5% C 0.190 H 302.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9054D3
RGBrgb(144, 84, 211)
HSLhsl(268, 59%, 58%)
HSVhsv(268, 60%, 83%)
CMYKcmyk(31.8%, 60.2%, 0%, 17.3%)
CIE-LABlab(48.23, 49.51, -56.36)
CIE-LCHlch(48.23, 75.02, 311.29°)
OKLaboklab(57.49% 0.1021 -0.1597)
OKLCHoklch(57.49% 0.19 302.6)
XYZxyz(26.4271, 16.9731, 63.4993)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9054D3 #97D354
analogous
#5458D3 #9054D3 #CF54D3
triadic
#9054D3 #D39054 #54D390
tetradic
#9054D3 #D35458 #97D354 #54D3CF
square
#9054D3 #D35458 #97D354 #54D3CF
split-complementary
#9054D3 #D3CF54 #58D354
monochromatic
#532389 #7130BA #9054D3 #B085E0 #CFB5EC

Accessibility & contrast

On white

4.78
#9054D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9054D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9054D3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9054D3#FFFFFF#000000##FFFFFF
##9054D31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0871D7
Deuteranopia (green-blind)
#3172D0
Tritanopia (blue-blind)
#836E8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9054d3;
/* rgb */ color: rgb(144, 84, 211);
/* oklch */ color: oklch(57.5% 0.190 302.6);
Tailwind
colors: {
  custom: {
    50: '#b587e1',
    500: '#9054d3',
    950: '#000000',
  },
}
SCSS
$custom: #9054d3;
$custom-light: #b587e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9054d3",
  "rgb": {
    "r": 144,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 268.346,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.18954,
    "h": 302.6
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#9054D3
secondary
#C3DBA8
accent
#E24698
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9054D3

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

Preview Lab → · Contrast checker → · Palette generator →

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