#9F57DB#9F57DB

#9F57DB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.1% C 0.198 H 306.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9F57DB
RGBrgb(159, 87, 219)
HSLhsl(273, 65%, 60%)
HSVhsv(273, 60%, 86%)
CMYKcmyk(27.4%, 60.3%, 0%, 14.1%)
CIE-LABlab(51.04, 53.31, -56.31)
CIE-LCHlch(51.04, 77.54, 313.44°)
OKLaboklab(60.08% 0.1177 -0.159)
OKLCHoklch(60.08% 0.198 306.5)
XYZxyz(30.4898, 19.3021, 69.1235)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57DB #93DB57
analogous
#5D57DB #9F57DB #DB57D5
triadic
#9F57DB #DB9F57 #57DB9F
tetradic
#9F57DB #DB5D57 #93DB57 #57D5DB
square
#9F57DB #DB5D57 #93DB57 #57D5DB
split-complementary
#9F57DB #D5DB57 #57DB5D
monochromatic
#612097 #822BCA #9F57DB #BC89E6 #D9BCF1

Accessibility & contrast

On white

4.32
#9F57DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9F57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57DB#FFFFFF#000000##000000
##9F57DB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1677DF
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#957191
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f57db;
/* rgb */ color: rgb(159, 87, 219);
/* oklch */ color: oklch(60.1% 0.198 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf8ae7',
    500: '#9f57db',
    950: '#000000',
  },
}
SCSS
$custom: #9f57db;
$custom-light: #bf8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57db",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 272.727,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.19784,
    "h": 306.5
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#9F57DB
secondary
#C5E0AD
accent
#E8408C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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