#9154C8#9154C8

#9154C8 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.177 H 305.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9154C8
RGBrgb(145, 84, 200)
HSLhsl(272, 51%, 56%)
HSVhsv(272, 58%, 78%)
CMYKcmyk(27.5%, 58%, 0%, 21.6%)
CIE-LABlab(47.66, 47.10, -50.94)
CIE-LCHlch(47.66, 69.38, 312.75°)
OKLaboklab(56.89% 0.1036 -0.1437)
OKLCHoklch(56.89% 0.177 305.8)
XYZxyz(25.2705, 16.5307, 56.4918)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154C8 #8BC854
analogous
#5754C8 #9154C8 #C854C5
triadic
#9154C8 #C89154 #54C891
tetradic
#9154C8 #C85754 #8BC854 #54C5C8
square
#9154C8 #C85754 #8BC854 #54C5C8
split-complementary
#9154C8 #C5C854 #54C857
monochromatic
#53277A #7236A9 #9154C8 #AF82D7 #CDB1E6

Accessibility & contrast

On white

4.88
#9154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9154C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154C8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154C8#FFFFFF#000000##FFFFFF
##9154C81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#886A86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9154c8;
/* rgb */ color: rgb(145, 84, 200);
/* oklch */ color: oklch(56.9% 0.177 305.8);
Tailwind
colors: {
  custom: {
    50: '#b587d9',
    500: '#9154c8',
    950: '#000000',
  },
}
SCSS
$custom: #9154c8;
$custom-light: #b587d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9154c8",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 271.552,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56885,
    "c": 0.17715,
    "h": 305.8
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#9154C8
secondary
#BBD4A4
accent
#DB4D90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9154C8

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

Preview Lab → · Contrast checker → · Palette generator →

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