#9954CD#9954CD

#9954CD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.185 H 308.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9954CD
RGBrgb(153, 84, 205)
HSLhsl(274, 55%, 57%)
HSVhsv(274, 59%, 80%)
CMYKcmyk(25.4%, 59%, 0%, 19.6%)
CIE-LABlab(48.91, 50.21, -51.77)
CIE-LCHlch(48.91, 72.12, 314.12°)
OKLaboklab(58.1% 0.1138 -0.1459)
OKLCHoklch(58.1% 0.185 308)
XYZxyz(27.3244, 17.5211, 59.6882)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9954CD #88CD54
analogous
#5D54CD #9954CD #CD54C5
triadic
#9954CD #CD9954 #54CD99
tetradic
#9954CD #CD5D54 #88CD54 #54C5CD
square
#9954CD #CD5D54 #88CD54 #54C5CD
split-complementary
#9954CD #C5CD54 #54CD5D
monochromatic
#5A2681 #7B34B0 #9954CD #B583DB #D1B3E9

Accessibility & contrast

On white

4.66
#9954CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9954CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9954CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9954CD#FFFFFF#000000##FFFFFF
##9954CD1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#916B89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9954cd;
/* rgb */ color: rgb(153, 84, 205);
/* oklch */ color: oklch(58.1% 0.185 308.0);
Tailwind
colors: {
  custom: {
    50: '#ba87dd',
    500: '#9954cd',
    950: '#000000',
  },
}
SCSS
$custom: #9954cd;
$custom-light: #ba87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9954cd",
  "rgb": {
    "r": 153,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 274.215,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58101,
    "c": 0.18507,
    "h": 308
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#9954CD
secondary
#BBD7A6
accent
#DE4A89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9954CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9954CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva