#9F57CD#9F57CD

#9F57CD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.183 H 310.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9F57CD
RGBrgb(159, 87, 205)
HSLhsl(277, 54%, 57%)
HSVhsv(277, 58%, 80%)
CMYKcmyk(22.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(50.21, 50.14, -49.65)
CIE-LCHlch(50.21, 70.57, 315.28°)
OKLaboklab(59.21% 0.1177 -0.1395)
OKLCHoklch(59.21% 0.183 310.1)
XYZxyz(28.7236, 18.5956, 59.8219)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57CD #85CD57
analogous
#6457CD #9F57CD #CD57C0
triadic
#9F57CD #CD9F57 #57CD9F
tetradic
#9F57CD #CD6457 #85CD57 #57C0CD
square
#9F57CD #CD6457 #85CD57 #57C0CD
split-complementary
#9F57CD #C0CD57 #57CD64
monochromatic
#5F2783 #8135B2 #9F57CD #BA86DB #D5B5E9

Accessibility & contrast

On white

4.45
#9F57CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9F57CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57CD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57CD#FFFFFF#000000##000000
##9F57CD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#996D8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f57cd;
/* rgb */ color: rgb(159, 87, 205);
/* oklch */ color: oklch(59.2% 0.183 310.1);
Tailwind
colors: {
  custom: {
    50: '#be8add',
    500: '#9f57cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f57cd;
$custom-light: #be8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57cd",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 276.61,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.18252,
    "h": 310.1
  },
  "luminance": 0.18595
}

Semantic roles & 50–950 ramp

primary
#9F57CD
secondary
#BBD8A8
accent
#DD4A84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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