#9F56DD#9F56DD

#9F56DD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.201 H 306.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9F56DD
RGBrgb(159, 86, 221)
HSLhsl(272, 67%, 60%)
HSVhsv(272, 61%, 87%)
CMYKcmyk(28.1%, 61.1%, 0%, 13.3%)
CIE-LABlab(50.98, 54.28, -57.54)
CIE-LCHlch(50.98, 79.10, 313.33°)
OKLaboklab(60.07% 0.1188 -0.1627)
OKLCHoklch(60.07% 0.201 306.1)
XYZxyz(30.6742, 19.2472, 70.4917)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56DD #94DD56
analogous
#5B56DD #9F56DD #DD56D8
triadic
#9F56DD #DD9F56 #56DD9F
tetradic
#9F56DD #DD5B56 #94DD56 #56D8DD
square
#9F56DD #DD5B56 #94DD56 #56D8DD
split-complementary
#9F56DD #D8DD56 #56DD5B
monochromatic
#611F9A #8229CD #9F56DD #BC89E7 #D9BCF2

Accessibility & contrast

On white

4.33
#9F56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9F56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56DD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56DD#FFFFFF#000000##000000
##9F56DD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0977E1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#957192
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f56dd;
/* rgb */ color: rgb(159, 86, 221);
/* oklch */ color: oklch(60.1% 0.201 306.1);
Tailwind
colors: {
  custom: {
    50: '#bf89e8',
    500: '#9f56dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f56dd;
$custom-light: #bf89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56dd",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 272.444,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.20143,
    "h": 306.1
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#9F56DD
secondary
#C5E1AE
accent
#CE176B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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