#9D57F2#9D57F2

#9D57F2 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.223 H 300.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9D57F2
RGBrgb(157, 87, 242)
HSLhsl(267, 86%, 65%)
HSVhsv(267, 64%, 95%)
CMYKcmyk(35.1%, 64%, 0%, 5.1%)
CIE-LABlab(52.28, 58.30, -67.27)
CIE-LCHlch(52.28, 89.01, 310.91°)
OKLaboklab(61.4% 0.1138 -0.1913)
OKLCHoklch(61.4% 0.223 300.7)
XYZxyz(33.3360, 20.3951, 86.1676)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57F2 #ACF257
analogous
#575FF2 #9D57F2 #EB57F2
triadic
#9D57F2 #F29D57 #57F29D
tetradic
#9D57F2 #F2575F #ACF257 #57F2EB
square
#9D57F2 #F2575F #ACF257 #57F2EB
split-complementary
#9D57F2 #F2EB57 #5FF257
monochromatic
#5F0FC0 #7C1EEE #9D57F2 #BE90F6 #DFC9FB

Accessibility & contrast

On white

4.13
#9D57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9D57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57F2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57F2#FFFFFF#000000##000000
##9D57F21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0B7CEF
Tritanopia (blue-blind)
#8B7A9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d57f2;
/* rgb */ color: rgb(157, 87, 242);
/* oklch */ color: oklch(61.4% 0.223 300.7);
Tailwind
colors: {
  custom: {
    50: '#bf8af7',
    500: '#9d57f2',
    950: '#000000',
  },
}
SCSS
$custom: #9d57f2;
$custom-light: #bf8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57f2",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 267.097,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61398,
    "c": 0.22257,
    "h": 300.7
  },
  "luminance": 0.20395
}

Semantic roles & 50–950 ramp

primary
#9D57F2
secondary
#D5EDB8
accent
#E2037E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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