#9154CA#9154CA

#9154CA is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.179 H 305.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9154CA
RGBrgb(145, 84, 202)
HSLhsl(271, 53%, 56%)
HSVhsv(271, 58%, 79%)
CMYKcmyk(28.2%, 58.4%, 0%, 20.8%)
CIE-LABlab(47.78, 47.57, -51.90)
CIE-LCHlch(47.78, 70.41, 312.51°)
OKLaboklab(57.01% 0.1036 -0.1465)
OKLCHoklch(57.01% 0.179 305.3)
XYZxyz(25.5057, 16.6248, 57.7309)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154CA #8DCA54
analogous
#5654CA #9154CA #CA54C8
triadic
#9154CA #CA9154 #54CA91
tetradic
#9154CA #CA5654 #8DCA54 #54C8CA
square
#9154CA #CA5654 #8DCA54 #54C8CA
split-complementary
#9154CA #C8CA54 #54CA56
monochromatic
#53277D #7235AC #9154CA #AF83D8 #CDB1E7

Accessibility & contrast

On white

4.86
#9154CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9154CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154CA#FFFFFF#000000##FFFFFF
##9154CA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2170CE
Deuteranopia (green-blind)
#3C72C7
Tritanopia (blue-blind)
#876B87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9154ca;
/* rgb */ color: rgb(145, 84, 202);
/* oklch */ color: oklch(57.0% 0.179 305.3);
Tailwind
colors: {
  custom: {
    50: '#b587db',
    500: '#9154ca',
    950: '#000000',
  },
}
SCSS
$custom: #9154ca;
$custom-light: #b587db;
$custom-dark: #000000;
JSON
{
  "hex": "#9154ca",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 271.017,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57012,
    "c": 0.17945,
    "h": 305.3
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9154CA

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

Preview Lab → · Contrast checker → · Palette generator →

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