#9F3DD1#9F3DD1

#9F3DD1 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.3% C 0.222 H 311.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9F3DD1
RGBrgb(159, 61, 209)
HSLhsl(280, 62%, 53%)
HSVhsv(280, 71%, 82%)
CMYKcmyk(23.9%, 70.8%, 0%, 18%)
CIE-LABlab(46.06, 63.10, -58.61)
CIE-LCHlch(46.06, 86.12, 317.11°)
OKLaboklab(56.29% 0.1472 -0.1657)
OKLCHoklch(56.29% 0.222 311.6)
XYZxyz(27.4733, 15.3126, 61.8176)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DD1 #6FD13D
analogous
#553DD1 #9F3DD1 #D13DB9
triadic
#9F3DD1 #D19F3D #3DD19F
tetradic
#9F3DD1 #D1553D #6FD13D #3DB9D1
square
#9F3DD1 #D1553D #6FD13D #3DB9D1
split-complementary
#9F3DD1 #B9D13D #3DD155
monochromatic
#591C77 #7D28A9 #9F3DD1 #B76EDD #D0A0E8

Accessibility & contrast

On white

5.17
#9F3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9F3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DD1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DD1#FFFFFF#000000##FFFFFF
##9F3DD11.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#296FCE
Tritanopia (blue-blind)
#995D83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3dd1;
/* rgb */ color: rgb(159, 61, 209);
/* oklch */ color: oklch(56.3% 0.222 311.6);
Tailwind
colors: {
  custom: {
    50: '#c07be0',
    500: '#9f3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dd1;
$custom-light: #c07be0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dd1",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 279.73,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.22164,
    "h": 311.6
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#9F3DD1
secondary
#ABD595
accent
#E5437A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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