#9154E1#9154E1

#9154E1 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.206 H 300.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9154E1
RGBrgb(145, 84, 225)
HSLhsl(266, 70%, 61%)
HSVhsv(266, 63%, 88%)
CMYKcmyk(35.6%, 62.7%, 0%, 11.8%)
CIE-LABlab(49.25, 53.16, -62.67)
CIE-LCHlch(49.25, 82.18, 310.31°)
OKLaboklab(58.55% 0.1027 -0.1782)
OKLCHoklch(58.55% 0.206 300)
XYZxyz(28.4347, 17.7964, 73.1565)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154E1 #A4E154
analogous
#545EE1 #9154E1 #D754E1
triadic
#9154E1 #E19154 #54E191
tetradic
#9154E1 #E1545E #A4E154 #54E1D7
square
#9154E1 #E1545E #A4E154 #54E1D7
split-complementary
#9154E1 #E1D754 #5EE154
monochromatic
#541C9F #7025D3 #9154E1 #B288EA #D4BCF3

Accessibility & contrast

On white

4.61
#9154E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9154E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9154E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154E1#FFFFFF#000000##FFFFFF
##9154E11.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#1774DE
Tritanopia (blue-blind)
#807393
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9154e1;
/* rgb */ color: rgb(145, 84, 225);
/* oklch */ color: oklch(58.5% 0.206 300.0);
Tailwind
colors: {
  custom: {
    50: '#b687eb',
    500: '#9154e1',
    950: '#000000',
  },
}
SCSS
$custom: #9154e1;
$custom-light: #b687eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9154e1",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 265.957,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58545,
    "c": 0.20567,
    "h": 300
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#9154E1
secondary
#CCE3AE
accent
#D21380
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154E1

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

Preview Lab → · Contrast checker → · Palette generator →

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