#9F57EB#9F57EB

#9F57EB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.215 H 302.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9F57EB
RGBrgb(159, 87, 235)
HSLhsl(269, 79%, 63%)
HSVhsv(269, 63%, 92%)
CMYKcmyk(32.3%, 63%, 0%, 7.8%)
CIE-LABlab(52.05, 57.04, -63.72)
CIE-LCHlch(52.05, 85.52, 311.84°)
OKLaboklab(61.13% 0.1169 -0.1808)
OKLCHoklch(61.13% 0.215 302.9)
XYZxyz(32.6982, 20.1855, 80.7547)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F57EB #A3EB57
analogous
#5759EB #9F57EB #E957EB
triadic
#9F57EB #EB9F57 #57EB9F
tetradic
#9F57EB #EB5759 #A3EB57 #57EBE9
square
#9F57EB #EB5759 #A3EB57 #57EBE9
split-complementary
#9F57EB #EBE957 #59EB57
monochromatic
#6215B2 #8020E4 #9F57EB #BE8EF2 #DEC4F8

Accessibility & contrast

On white

4.17
#9F57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9F57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F57EB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F57EB#FFFFFF#000000##000000
##9F57EB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#907799
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f57eb;
/* rgb */ color: rgb(159, 87, 235);
/* oklch */ color: oklch(61.1% 0.215 302.9);
Tailwind
colors: {
  custom: {
    50: '#c08af2',
    500: '#9f57eb',
    950: '#000000',
  },
}
SCSS
$custom: #9f57eb;
$custom-light: #c08af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f57eb",
  "rgb": {
    "r": 159,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 269.189,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61132,
    "c": 0.21532,
    "h": 302.9
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#9F57EB
secondary
#D0E9B4
accent
#DB0A76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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