#9F36DD#9F36DD

#9F36DD is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.5% C 0.240 H 309.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9F36DD
RGBrgb(159, 54, 221)
HSLhsl(278, 71%, 54%)
HSVhsv(278, 76%, 87%)
CMYKcmyk(28.1%, 75.6%, 0%, 13.3%)
CIE-LABlab(45.95, 68.29, -65.66)
CIE-LCHlch(45.95, 94.74, 316.13°)
OKLaboklab(56.48% 0.1518 -0.1863)
OKLCHoklch(56.48% 0.24 309.2)
XYZxyz(28.6657, 15.2303, 69.8222)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36DD #74DD36
analogous
#4C36DD #9F36DD #DD36C7
triadic
#9F36DD #DD9F36 #36DD9F
tetradic
#9F36DD #DD4C36 #74DD36 #36C7DD
square
#9F36DD #DD4C36 #74DD36 #36C7DD
split-complementary
#9F36DD #C7DD36 #36DD4C
monochromatic
#5A1683 #7E1FB7 #9F36DD #B86AE6 #D19FEF

Accessibility & contrast

On white

5.19
#9F36DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9F36DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36DD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36DD#FFFFFF#000000##FFFFFF
##9F36DD1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#965F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f36dd;
/* rgb */ color: rgb(159, 54, 221);
/* oklch */ color: oklch(56.5% 0.240 309.2);
Tailwind
colors: {
  custom: {
    50: '#c178e9',
    500: '#9f36dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f36dd;
$custom-light: #c178e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36dd",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 221
  },
  "hsl": {
    "h": 277.725,
    "s": 71.064,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.24032,
    "h": 309.2
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#9F36DD
secondary
#AEDB94
accent
#EE3A7D
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F36DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9F36DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva