#9D57F1#9D57F1

#9D57F1 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.221 H 300.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9D57F1
RGBrgb(157, 87, 241)
HSLhsl(267, 85%, 64%)
HSVhsv(267, 64%, 95%)
CMYKcmyk(34.9%, 63.9%, 0%, 5.5%)
CIE-LABlab(52.21, 58.06, -66.82)
CIE-LCHlch(52.21, 88.52, 310.99°)
OKLaboklab(61.33% 0.1139 -0.19)
OKLCHoklch(61.33% 0.221 300.9)
XYZxyz(33.1862, 20.3352, 85.3787)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57F1 #ABF157
analogous
#575EF1 #9D57F1 #EA57F1
triadic
#9D57F1 #F19D57 #57F19D
tetradic
#9D57F1 #F1575E #ABF157 #57F1EA
square
#9D57F1 #F1575E #ABF157 #57F1EA
split-complementary
#9D57F1 #F1EA57 #5EF157
monochromatic
#5F10BE #7C1FEC #9D57F1 #BE8FF6 #DFC8FA

Accessibility & contrast

On white

4.14
#9D57F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9D57F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57F1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57F1#FFFFFF#000000##000000
##9D57F11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#107CEE
Tritanopia (blue-blind)
#8B799D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d57f1;
/* rgb */ color: rgb(157, 87, 241);
/* oklch */ color: oklch(61.3% 0.221 300.9);
Tailwind
colors: {
  custom: {
    50: '#bf8af6',
    500: '#9d57f1',
    950: '#000000',
  },
}
SCSS
$custom: #9d57f1;
$custom-light: #bf8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57f1",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 241
  },
  "hsl": {
    "h": 267.273,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61328,
    "c": 0.22149,
    "h": 300.9
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

primary
#9D57F1
secondary
#D4EDB7
accent
#E1047D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D57F1

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

Preview Lab → · Contrast checker → · Palette generator →

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