#9936CF#9936CF

#9936CF is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.226 H 310.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9936CF
RGBrgb(153, 54, 207)
HSLhsl(279, 61%, 51%)
HSVhsv(279, 74%, 81%)
CMYKcmyk(26.1%, 73.9%, 0%, 18.8%)
CIE-LABlab(44.11, 64.28, -60.65)
CIE-LCHlch(44.11, 88.38, 316.67°)
OKLaboklab(54.7% 0.1465 -0.1718)
OKLCHoklch(54.7% 0.226 310.5)
XYZxyz(25.7163, 13.9162, 60.3508)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936CF #6CCF36
analogous
#4C36CF #9936CF #CF36B8
triadic
#9936CF #CF9936 #36CF99
tetradic
#9936CF #CF4C36 #6CCF36 #36B8CF
square
#9936CF #CF4C36 #6CCF36 #36B8CF
split-complementary
#9936CF #B8CF36 #36CF4C
monochromatic
#521B70 #7627A1 #9936CF #B267DB #CB99E7

Accessibility & contrast

On white

5.55
#9936CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9936CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936CF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936CF#FFFFFF#000000##FFFFFF
##9936CF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#136ACC
Tritanopia (blue-blind)
#925A80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9936cf;
/* rgb */ color: rgb(153, 54, 207);
/* oklch */ color: oklch(54.7% 0.226 310.5);
Tailwind
colors: {
  custom: {
    50: '#bc77df',
    500: '#9936cf',
    950: '#000000',
  },
}
SCSS
$custom: #9936cf;
$custom-light: #bc77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9936cf",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 278.824,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.22579,
    "h": 310.5
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#9936CF
secondary
#A6D28F
accent
#E5437C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9936CF

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

Preview Lab → · Contrast checker → · Palette generator →

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