#9154CD#9154CD

#9154CD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.183 H 304.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9154CD
RGBrgb(145, 84, 205)
HSLhsl(270, 55%, 57%)
HSVhsv(270, 59%, 80%)
CMYKcmyk(29.3%, 59%, 0%, 19.6%)
CIE-LABlab(47.97, 48.29, -53.33)
CIE-LCHlch(47.97, 71.95, 312.16°)
OKLaboklab(57.2% 0.1036 -0.1507)
OKLCHoklch(57.2% 0.183 304.5)
XYZxyz(25.8644, 16.7683, 59.6198)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154CD #90CD54
analogous
#5554CD #9154CD #CD54CD
triadic
#9154CD #CD9154 #54CD91
tetradic
#9154CD #CD5554 #90CD54 #54CDCD
square
#9154CD #CD5554 #90CD54 #54CDCD
split-complementary
#9154CD #CDCD54 #54CD55
monochromatic
#542681 #7234B0 #9154CD #AF83DB #CEB3E9

Accessibility & contrast

On white

4.82
#9154CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9154CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154CD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154CD#FFFFFF#000000##FFFFFF
##9154CD1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#866C88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9154cd;
/* rgb */ color: rgb(145, 84, 205);
/* oklch */ color: oklch(57.2% 0.183 304.5);
Tailwind
colors: {
  custom: {
    50: '#b587dd',
    500: '#9154cd',
    950: '#000000',
  },
}
SCSS
$custom: #9154cd;
$custom-light: #b587dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9154cd",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 270.248,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.18289,
    "h": 304.5
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#9154CD
secondary
#BED7A6
accent
#DE4A93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9154CD

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

Preview Lab → · Contrast checker → · Palette generator →

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