#9F57E3#9F57E3

#9F57E3 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.207 H 304.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9F57E3
RGBrgb(159, 87, 227)
HSLhsl(271, 71%, 62%)
HSVhsv(271, 62%, 89%)
CMYKcmyk(30%, 61.7%, 0%, 11%)
CIE-LABlab(51.53, 55.17, -60.04)
CIE-LCHlch(51.53, 81.53, 312.58°)
OKLaboklab(60.6% 0.1174 -0.17)
OKLCHoklch(60.6% 0.207 304.6)
XYZxyz(31.5683, 19.7335, 74.8040)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57E3 #9BE357
analogous
#5957E3 #9F57E3 #E357E1
triadic
#9F57E3 #E39F57 #57E39F
tetradic
#9F57E3 #E35957 #9BE357 #57E1E3
square
#9F57E3 #E35957 #9BE357 #57E1E3
split-complementary
#9F57E3 #E1E357 #57E359
monochromatic
#621BA4 #8124D9 #9F57E3 #BD8BEC #DBC0F4

Accessibility & contrast

On white

4.25
#9F57E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9F57E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57E3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57E3#FFFFFF#000000##000000
##9F57E31.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#347BE0
Tritanopia (blue-blind)
#937495
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f57e3;
/* rgb */ color: rgb(159, 87, 227);
/* oklch */ color: oklch(60.6% 0.207 304.6);
Tailwind
colors: {
  custom: {
    50: '#c08aed',
    500: '#9f57e3',
    950: '#000000',
  },
}
SCSS
$custom: #9f57e3;
$custom-light: #c08aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57e3",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 270.857,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.20659,
    "h": 304.6
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#9F57E3
secondary
#CAE5B1
accent
#D31270
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F57E3

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

Preview Lab → · Contrast checker → · Palette generator →

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