#9F3DD2#9F3DD2

#9F3DD2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.223 H 311.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9F3DD2
RGBrgb(159, 61, 210)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(24.3%, 71%, 0%, 17.6%)
CIE-LABlab(46.13, 63.30, -59.08)
CIE-LCHlch(46.13, 86.59, 316.98°)
OKLaboklab(56.36% 0.1471 -0.167)
OKLCHoklch(56.36% 0.223 311.4)
XYZxyz(27.5975, 15.3623, 62.4717)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DD2 #70D23D
analogous
#543DD2 #9F3DD2 #D23DBA
triadic
#9F3DD2 #D29F3D #3DD29F
tetradic
#9F3DD2 #D2543D #70D23D #3DBAD2
square
#9F3DD2 #D2543D #70D23D #3DBAD2
split-complementary
#9F3DD2 #BAD23D #3DD254
monochromatic
#591C79 #7E28AA #9F3DD2 #B86FDE #D0A0E9

Accessibility & contrast

On white

5.16
#9F3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9F3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DD2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DD2#FFFFFF#000000##FFFFFF
##9F3DD21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#276FCF
Tritanopia (blue-blind)
#995E84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3dd2;
/* rgb */ color: rgb(159, 61, 210);
/* oklch */ color: oklch(56.4% 0.223 311.4);
Tailwind
colors: {
  custom: {
    50: '#c07be1',
    500: '#9f3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dd2;
$custom-light: #c07be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dd2",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 279.463,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.22258,
    "h": 311.4
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#9F3DD2
secondary
#ABD695
accent
#E5427A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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