#9D54C8#9D54C8

#9D54C8 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.181 H 311.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D54C8
RGBrgb(157, 84, 200)
HSLhsl(278, 51%, 56%)
HSVhsv(278, 58%, 78%)
CMYKcmyk(21.5%, 58%, 0%, 21.6%)
CIE-LABlab(49.10, 50.07, -48.56)
CIE-LCHlch(49.10, 69.75, 315.88°)
OKLaboklab(58.26% 0.1189 -0.1364)
OKLCHoklch(58.26% 0.181 311.1)
XYZxyz(27.4984, 17.6795, 56.5963)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54C8 #7FC854
analogous
#6354C8 #9D54C8 #C854B9
triadic
#9D54C8 #C89D54 #54C89D
tetradic
#9D54C8 #C86354 #7FC854 #54B9C8
square
#9D54C8 #C86354 #7FC854 #54B9C8
split-complementary
#9D54C8 #B9C854 #54C863
monochromatic
#5C277A #7E36A9 #9D54C8 #B882D7 #D2B1E6

Accessibility & contrast

On white

4.63
#9D54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9D54C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D54C8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54C8#FFFFFF#000000##FFFFFF
##9D54C81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#986986
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d54c8;
/* rgb */ color: rgb(157, 84, 200);
/* oklch */ color: oklch(58.3% 0.181 311.1);
Tailwind
colors: {
  custom: {
    50: '#bd87d9',
    500: '#9d54c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d54c8;
$custom-light: #bd87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54c8",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 277.759,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.1809,
    "h": 311.1
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#9D54C8
secondary
#B6D4A4
accent
#DB4D82
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D54C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9D54C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva