#9154DD#9154DD

#9154DD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.201 H 300.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9154DD
RGBrgb(145, 84, 221)
HSLhsl(267, 67%, 60%)
HSVhsv(267, 62%, 87%)
CMYKcmyk(34.4%, 62%, 0%, 13.3%)
CIE-LABlab(48.98, 52.18, -60.83)
CIE-LCHlch(48.98, 80.14, 310.62°)
OKLaboklab(58.27% 0.103 -0.1728)
OKLCHoklch(58.27% 0.201 300.8)
XYZxyz(27.8954, 17.5807, 70.3164)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154DD #A0DD54
analogous
#545CDD #9154DD #D554DD
triadic
#9154DD #DD9154 #54DD91
tetradic
#9154DD #DD545C #A0DD54 #54DDD5
square
#9154DD #DD545C #A0DD54 #54DDD5
split-complementary
#9154DD #DDD554 #5CDD54
monochromatic
#551E98 #7128CB #9154DD #B287E7 #D3BAF1

Accessibility & contrast

On white

4.65
#9154DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9154DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9154DD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154DD#FFFFFF#000000##FFFFFF
##9154DD1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#2174DA
Tritanopia (blue-blind)
#817291
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9154dd;
/* rgb */ color: rgb(145, 84, 221);
/* oklch */ color: oklch(58.3% 0.201 300.8);
Tailwind
colors: {
  custom: {
    50: '#b687e8',
    500: '#9154dd',
    950: '#000000',
  },
}
SCSS
$custom: #9154dd;
$custom-light: #b687e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9154dd",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 266.715,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58269,
    "c": 0.20113,
    "h": 300.8
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#9154DD
secondary
#C9E1AC
accent
#EA3E9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154DD

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

Preview Lab → · Contrast checker → · Palette generator →

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