#9C54DB#9C54DB

#9C54DB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.201 H 305.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9C54DB
RGBrgb(156, 84, 219)
HSLhsl(272, 65%, 59%)
HSVhsv(272, 62%, 86%)
CMYKcmyk(28.8%, 61.6%, 0%, 14.1%)
CIE-LABlab(50.12, 54.14, -57.79)
CIE-LCHlch(50.12, 79.19, 313.13°)
OKLaboklab(59.34% 0.1174 -0.1635)
OKLCHoklch(59.34% 0.201 305.7)
XYZxyz(29.6640, 18.5233, 69.0167)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C54DB #93DB54
analogous
#5954DB #9C54DB #DB54D6
triadic
#9C54DB #DB9C54 #54DB9C
tetradic
#9C54DB #DB5954 #93DB54 #54D6DB
square
#9C54DB #DB5954 #93DB54 #54D6DB
split-complementary
#9C54DB #D6DB54 #54DB59
monochromatic
#5E1F95 #7E2AC8 #9C54DB #B987E6 #D7B9F0

Accessibility & contrast

On white

4.46
#9C54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9C54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C54DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C54DB#FFFFFF#000000##000000
##9C54DB1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3678D8
Tritanopia (blue-blind)
#917090
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c54db;
/* rgb */ color: rgb(156, 84, 219);
/* oklch */ color: oklch(59.3% 0.201 305.7);
Tailwind
colors: {
  custom: {
    50: '#bd88e7',
    500: '#9c54db',
    950: '#000000',
  },
}
SCSS
$custom: #9c54db;
$custom-light: #bd88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c54db",
  "rgb": {
    "r": 156,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 272,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.20127,
    "h": 305.7
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#9C54DB
secondary
#C4E0AB
accent
#E8408E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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