#9939CF#9939CF

#9939CF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.223 H 310.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9939CF
RGBrgb(153, 57, 207)
HSLhsl(278, 61%, 52%)
HSVhsv(278, 72%, 81%)
CMYKcmyk(26.1%, 72.5%, 0%, 18.8%)
CIE-LABlab(44.52, 63.11, -59.98)
CIE-LCHlch(44.52, 87.07, 316.46°)
OKLaboklab(54.99% 0.1437 -0.1699)
OKLCHoklch(54.99% 0.223 310.2)
XYZxyz(25.8603, 14.2041, 60.3988)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939CF #6FCF39
analogous
#4E39CF #9939CF #CF39BA
triadic
#9939CF #CF9939 #39CF99
tetradic
#9939CF #CF4E39 #6FCF39 #39BACF
square
#9939CF #CF4E39 #6FCF39 #39BACF
split-complementary
#9939CF #BACF39 #39CF4E
monochromatic
#531C72 #7728A3 #9939CF #B26ADB #CC9CE7

Accessibility & contrast

On white

5.47
#9939CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9939CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939CF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939CF#FFFFFF#000000##FFFFFF
##9939CF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#196BCC
Tritanopia (blue-blind)
#915B81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9939cf;
/* rgb */ color: rgb(153, 57, 207);
/* oklch */ color: oklch(55.0% 0.223 310.2);
Tailwind
colors: {
  custom: {
    50: '#bc78de',
    500: '#9939cf',
    950: '#000000',
  },
}
SCSS
$custom: #9939cf;
$custom-light: #bc78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9939cf",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 278.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.2225,
    "h": 310.2
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#9939CF
secondary
#A9D391
accent
#E4447D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9939CF

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

Preview Lab → · Contrast checker → · Palette generator →

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