#9F3ED2#9F3ED2

#9F3ED2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.221 H 311.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9F3ED2
RGBrgb(159, 62, 210)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 70%, 82%)
CMYKcmyk(24.3%, 70.5%, 0%, 17.6%)
CIE-LABlab(46.27, 62.90, -58.84)
CIE-LCHlch(46.27, 86.13, 316.91°)
OKLaboklab(56.47% 0.1461 -0.1663)
OKLCHoklch(56.47% 0.221 311.3)
XYZxyz(27.6514, 15.4700, 62.4897)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3ED2 #71D23E
analogous
#553ED2 #9F3ED2 #D23EBB
triadic
#9F3ED2 #D29F3E #3ED29F
tetradic
#9F3ED2 #D2553E #71D23E #3EBBD2
square
#9F3ED2 #D2553E #71D23E #3EBBD2
split-complementary
#9F3ED2 #BBD23E #3ED255
monochromatic
#591C79 #7E28AB #9F3ED2 #B870DE #D0A1E9

Accessibility & contrast

On white

5.13
#9F3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9F3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3ED2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3ED2#FFFFFF#000000##FFFFFF
##9F3ED21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f3ed2;
/* rgb */ color: rgb(159, 62, 210);
/* oklch */ color: oklch(56.5% 0.221 311.3);
Tailwind
colors: {
  custom: {
    50: '#c07be1',
    500: '#9f3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ed2;
$custom-light: #c07be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ed2",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 279.324,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56465,
    "c": 0.22141,
    "h": 311.3
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#9F3ED2
secondary
#ACD696
accent
#E5437B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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