#9154DA#9154DA

#9154DA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.198 H 301.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9154DA
RGBrgb(145, 84, 218)
HSLhsl(267, 64%, 59%)
HSVhsv(267, 61%, 85%)
CMYKcmyk(33.5%, 61.5%, 0%, 14.5%)
CIE-LABlab(48.79, 51.44, -59.44)
CIE-LCHlch(48.79, 78.61, 310.87°)
OKLaboklab(58.07% 0.1032 -0.1687)
OKLCHoklch(58.07% 0.198 301.4)
XYZxyz(27.4993, 17.4222, 68.2301)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154DA #9DDA54
analogous
#545ADA #9154DA #D454DA
triadic
#9154DA #DA9154 #54DA91
tetradic
#9154DA #DA545A #9DDA54 #54DAD4
square
#9154DA #DA545A #9DDA54 #54DAD4
split-complementary
#9154DA #DAD454 #5ADA54
monochromatic
#552094 #712BC6 #9154DA #B186E5 #D2B9F0

Accessibility & contrast

On white

4.68
#9154DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9154DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154DA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154DA#FFFFFF#000000##FFFFFF
##9154DA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#2773D7
Tritanopia (blue-blind)
#82718F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9154da;
/* rgb */ color: rgb(145, 84, 218);
/* oklch */ color: oklch(58.1% 0.198 301.4);
Tailwind
colors: {
  custom: {
    50: '#b687e6',
    500: '#9154da',
    950: '#000000',
  },
}
SCSS
$custom: #9154da;
$custom-light: #b687e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9154da",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 267.313,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.19772,
    "h": 301.4
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#9154DA
secondary
#C7DFAB
accent
#E7409B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154DA

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

Preview Lab → · Contrast checker → · Palette generator →

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