#9F3EE5#9F3EE5

#9F3EE5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.8% C 0.239 H 306.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9F3EE5
RGBrgb(159, 62, 229)
HSLhsl(275, 76%, 57%)
HSVhsv(275, 73%, 90%)
CMYKcmyk(30.6%, 72.9%, 0%, 10.2%)
CIE-LABlab(47.59, 66.94, -67.54)
CIE-LCHlch(47.59, 95.10, 314.74°)
OKLaboklab(57.82% 0.1432 -0.1919)
OKLCHoklch(57.82% 0.239 306.7)
XYZxyz(30.1605, 16.4737, 75.7044)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EE5 #84E53E
analogous
#4B3EE5 #9F3EE5 #E53ED8
triadic
#9F3EE5 #E59F3E #3EE59F
tetradic
#9F3EE5 #E54B3E #84E53E #3ED8E5
square
#9F3EE5 #E54B3E #84E53E #3ED8E5
split-complementary
#9F3EE5 #D8E53E #3EE54B
monochromatic
#5F1495 #811BCB #9F3EE5 #BA74EC #D5AAF4

Accessibility & contrast

On white

4.89
#9F3EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9F3EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EE5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EE5#FFFFFF#000000##FFFFFF
##9F3EE51.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#93668F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f3ee5;
/* rgb */ color: rgb(159, 62, 229);
/* oklch */ color: oklch(57.8% 0.239 306.7);
Tailwind
colors: {
  custom: {
    50: '#c17cee',
    500: '#9f3ee5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ee5;
$custom-light: #c17cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ee5",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 229
  },
  "hsl": {
    "h": 274.85,
    "s": 76.256,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.23948,
    "h": 306.7
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#9F3EE5
secondary
#BAE19D
accent
#F33585
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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