#9154D2#9154D2

#9154D2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.5% C 0.189 H 303.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9154D2
RGBrgb(145, 84, 210)
HSLhsl(269, 58%, 58%)
HSVhsv(269, 60%, 82%)
CMYKcmyk(31%, 60%, 0%, 17.6%)
CIE-LABlab(48.28, 49.49, -55.70)
CIE-LCHlch(48.28, 74.51, 311.62°)
OKLaboklab(57.53% 0.1035 -0.1577)
OKLCHoklch(57.53% 0.189 303.3)
XYZxyz(26.4776, 17.0136, 62.8493)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154D2 #95D254
analogous
#5456D2 #9154D2 #D054D2
triadic
#9154D2 #D29154 #54D291
tetradic
#9154D2 #D25456 #95D254 #54D2D0
square
#9154D2 #D25456 #95D254 #54D2D0
split-complementary
#9154D2 #D2D054 #56D254
monochromatic
#542488 #7231B8 #9154D2 #B084DF #CFB5EB

Accessibility & contrast

On white

4.77
#9154D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9154D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154D2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154D2#FFFFFF#000000##FFFFFF
##9154D21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E71D6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#856E8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9154d2;
/* rgb */ color: rgb(145, 84, 210);
/* oklch */ color: oklch(57.5% 0.189 303.3);
Tailwind
colors: {
  custom: {
    50: '#b587e0',
    500: '#9154d2',
    950: '#000000',
  },
}
SCSS
$custom: #9154d2;
$custom-light: #b587e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9154d2",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 269.048,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.18861,
    "h": 303.3
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#9154D2
secondary
#C2DAA8
accent
#E24696
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9154D2

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

Preview Lab → · Contrast checker → · Palette generator →

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