#9939CA#9939CA

#9939CA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.218 H 311.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9939CA
RGBrgb(153, 57, 202)
HSLhsl(280, 58%, 51%)
HSVhsv(280, 72%, 79%)
CMYKcmyk(24.3%, 71.8%, 0%, 20.8%)
CIE-LABlab(44.18, 62.06, -57.65)
CIE-LCHlch(44.18, 84.70, 317.11°)
OKLaboklab(54.63% 0.1444 -0.163)
OKLCHoklch(54.63% 0.218 311.5)
XYZxyz(25.2587, 13.9635, 57.2303)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939CA #6ACA39
analogous
#5039CA #9939CA #CA39B2
triadic
#9939CA #CA9939 #39CA99
tetradic
#9939CA #CA5039 #6ACA39 #39B2CA
square
#9939CA #CA5039 #6ACA39 #39B2CA
split-complementary
#9939CA #B2CA39 #39CA50
monochromatic
#511D6C #752A9C #9939CA #B269D7 #CB9AE4

Accessibility & contrast

On white

5.54
#9939CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9939CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939CA#FFFFFF#000000##FFFFFF
##9939CA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#246AC7
Tritanopia (blue-blind)
#93597E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9939ca;
/* rgb */ color: rgb(153, 57, 202);
/* oklch */ color: oklch(54.6% 0.218 311.5);
Tailwind
colors: {
  custom: {
    50: '#bc78db',
    500: '#9939ca',
    950: '#000000',
  },
}
SCSS
$custom: #9939ca;
$custom-light: #bc78db;
$custom-dark: #000000;
JSON
{
  "hex": "#9939ca",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 279.724,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.21778,
    "h": 311.5
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#9939CA
secondary
#A5D08F
accent
#E1477B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9939CA

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

Preview Lab → · Contrast checker → · Palette generator →

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