#9154E4#9154E4

#9154E4 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.209 H 299.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9154E4
RGBrgb(145, 84, 228)
HSLhsl(265, 73%, 61%)
HSVhsv(265, 63%, 89%)
CMYKcmyk(36.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(49.45, 53.91, -64.05)
CIE-LCHlch(49.45, 83.71, 310.09°)
OKLaboklab(58.75% 0.1025 -0.1822)
OKLCHoklch(58.75% 0.209 299.4)
XYZxyz(28.8475, 17.9615, 75.3308)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154E4 #A7E454
analogous
#545FE4 #9154E4 #D954E4
triadic
#9154E4 #E49154 #54E491
tetradic
#9154E4 #E4545F #A7E454 #54E4D9
square
#9154E4 #E4545F #A7E454 #54E4D9
split-complementary
#9154E4 #E4D954 #5FE454
monochromatic
#541AA4 #6F22D9 #9154E4 #B389EC #D5BEF5

Accessibility & contrast

On white

4.57
#9154E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9154E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9154E4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154E4#FFFFFF#000000##000000
##9154E41.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0B74E1
Tritanopia (blue-blind)
#7E7495
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9154e4;
/* rgb */ color: rgb(145, 84, 228);
/* oklch */ color: oklch(58.8% 0.209 299.4);
Tailwind
colors: {
  custom: {
    50: '#b787ed',
    500: '#9154e4',
    950: '#000000',
  },
}
SCSS
$custom: #9154e4;
$custom-light: #b787ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9154e4",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 265.417,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.20906,
    "h": 299.4
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#9154E4
secondary
#CEE5AF
accent
#D51182
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154E4

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

Preview Lab → · Contrast checker → · Palette generator →

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