#9954CA#9954CA

#9954CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.182 H 308.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9954CA
RGBrgb(153, 84, 202)
HSLhsl(275, 53%, 56%)
HSVhsv(275, 58%, 79%)
CMYKcmyk(24.3%, 58.4%, 0%, 20.8%)
CIE-LABlab(48.73, 49.53, -50.33)
CIE-LCHlch(48.73, 70.61, 314.54°)
OKLaboklab(57.92% 0.1138 -0.1417)
OKLCHoklch(57.92% 0.182 308.8)
XYZxyz(26.9658, 17.3776, 57.7993)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9954CA #85CA54
analogous
#5E54CA #9954CA #CA54C0
triadic
#9954CA #CA9954 #54CA99
tetradic
#9954CA #CA5E54 #85CA54 #54C0CA
square
#9954CA #CA5E54 #85CA54 #54C0CA
split-complementary
#9954CA #C0CA54 #54CA5E
monochromatic
#59277D #7A35AC #9954CA #B583D8 #D1B1E7

Accessibility & contrast

On white

4.69
#9954CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9954CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9954CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9954CA#FFFFFF#000000##FFFFFF
##9954CA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#926A87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9954ca;
/* rgb */ color: rgb(153, 84, 202);
/* oklch */ color: oklch(57.9% 0.182 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba87db',
    500: '#9954ca',
    950: '#000000',
  },
}
SCSS
$custom: #9954ca;
$custom-light: #ba87db;
$custom-dark: #000000;
JSON
{
  "hex": "#9954ca",
  "rgb": {
    "r": 153,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 275.085,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.18174,
    "h": 308.8
  },
  "luminance": 0.17377
}

Semantic roles & 50–950 ramp

primary
#9954CA
secondary
#B9D5A5
accent
#DC4C88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9954CA

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

Preview Lab → · Contrast checker → · Palette generator →

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