#9F57EA#9F57EA

#9F57EA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.214 H 303.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9F57EA
RGBrgb(159, 87, 234)
HSLhsl(269, 78%, 63%)
HSVhsv(269, 63%, 92%)
CMYKcmyk(32.1%, 62.8%, 0%, 8.2%)
CIE-LABlab(51.98, 56.81, -63.26)
CIE-LCHlch(51.98, 85.02, 311.93°)
OKLaboklab(61.07% 0.117 -0.1794)
OKLCHoklch(61.07% 0.214 303.1)
XYZxyz(32.5541, 20.1278, 79.9960)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57EA #A2EA57
analogous
#5758EA #9F57EA #E957EA
triadic
#9F57EA #EA9F57 #57EA9F
tetradic
#9F57EA #EA5758 #A2EA57 #57EAE9
square
#9F57EA #EA5758 #A2EA57 #57EAE9
split-complementary
#9F57EA #EAE957 #58EA57
monochromatic
#6216B1 #8021E3 #9F57EA #BE8DF1 #DDC4F8

Accessibility & contrast

On white

4.18
#9F57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9F57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57EA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57EA#FFFFFF#000000##000000
##9F57EA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#907799
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f57ea;
/* rgb */ color: rgb(159, 87, 234);
/* oklch */ color: oklch(61.1% 0.214 303.1);
Tailwind
colors: {
  custom: {
    50: '#c08af2',
    500: '#9f57ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f57ea;
$custom-light: #c08af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57ea",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 269.388,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61065,
    "c": 0.21422,
    "h": 303.1
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#9F57EA
secondary
#CFE9B4
accent
#DA0B75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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