#9154DC#9154DC

#9154DC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.200 H 301.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9154DC
RGBrgb(145, 84, 220)
HSLhsl(267, 66%, 60%)
HSVhsv(267, 62%, 86%)
CMYKcmyk(34.1%, 61.8%, 0%, 13.7%)
CIE-LABlab(48.92, 51.93, -60.37)
CIE-LCHlch(48.92, 79.63, 310.70°)
OKLaboklab(58.2% 0.1031 -0.1714)
OKLCHoklch(58.2% 0.2 301)
XYZxyz(27.7626, 17.5275, 69.6168)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154DC #9FDC54
analogous
#545BDC #9154DC #D554DC
triadic
#9154DC #DC9154 #54DC91
tetradic
#9154DC #DC545B #9FDC54 #54DCD5
square
#9154DC #DC545B #9FDC54 #54DCD5
split-complementary
#9154DC #DCD554 #5BDC54
monochromatic
#551F97 #7129CA #9154DC #B287E6 #D2BAF1

Accessibility & contrast

On white

4.66
#9154DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9154DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9154DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154DC#FFFFFF#000000##FFFFFF
##9154DC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#817190
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9154dc;
/* rgb */ color: rgb(145, 84, 220);
/* oklch */ color: oklch(58.2% 0.200 301.0);
Tailwind
colors: {
  custom: {
    50: '#b687e8',
    500: '#9154dc',
    950: '#000000',
  },
}
SCSS
$custom: #9154dc;
$custom-light: #b687e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9154dc",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 266.912,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.2,
    "h": 301
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#9154DC
secondary
#C9E0AC
accent
#E93F9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9154DC

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

Preview Lab → · Contrast checker → · Palette generator →

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