#9154DE#9154DE

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

Color values

HEX#9154DE
RGBrgb(145, 84, 222)
HSLhsl(267, 68%, 60%)
HSVhsv(267, 62%, 87%)
CMYKcmyk(34.7%, 62.2%, 0%, 12.9%)
CIE-LABlab(49.05, 52.42, -61.29)
CIE-LCHlch(49.05, 80.65, 310.54°)
OKLaboklab(58.34% 0.1029 -0.1741)
OKLCHoklch(58.34% 0.202 300.6)
XYZxyz(28.0290, 17.6341, 71.0201)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154DE #A1DE54
analogous
#545CDE #9154DE #D654DE
triadic
#9154DE #DE9154 #54DE91
tetradic
#9154DE #DE545C #A1DE54 #54DED6
square
#9154DE #DE545C #A1DE54 #54DED6
split-complementary
#9154DE #DED654 #5CDE54
monochromatic
#551E9A #7128CD #9154DE #B287E8 #D3BBF2

Accessibility & contrast

On white

4.64
#9154DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9154DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9154DE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154DE#FFFFFF#000000##FFFFFF
##9154DE1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#1F74DB
Tritanopia (blue-blind)
#817291
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9154de;
/* rgb */ color: rgb(145, 84, 222);
/* oklch */ color: oklch(58.3% 0.202 300.6);
Tailwind
colors: {
  custom: {
    50: '#b687e9',
    500: '#9154de',
    950: '#000000',
  },
}
SCSS
$custom: #9154de;
$custom-light: #b687e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9154de",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 266.522,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.58338,
    "c": 0.20227,
    "h": 300.6
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#9154DE
secondary
#CAE1AC
accent
#EB3D9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154DE

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

Preview Lab → · Contrast checker → · Palette generator →

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