#9A57E4#9A57E4

#9A57E4 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.207 H 302.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9A57E4
RGBrgb(154, 87, 228)
HSLhsl(269, 72%, 62%)
HSVhsv(269, 62%, 89%)
CMYKcmyk(32.5%, 61.8%, 0%, 10.6%)
CIE-LABlab(51.02, 54.30, -61.46)
CIE-LCHlch(51.02, 82.01, 311.46°)
OKLaboklab(60.12% 0.1109 -0.1743)
OKLCHoklch(60.12% 0.207 302.5)
XYZxyz(30.7350, 19.2878, 75.4875)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A57E4 #A1E457
analogous
#575BE4 #9A57E4 #E157E4
triadic
#9A57E4 #E49A57 #57E49A
tetradic
#9A57E4 #E4575B #A1E457 #57E4E1
square
#9A57E4 #E4575B #A1E457 #57E4E1
split-complementary
#9A57E4 #E4E157 #5BE457
monochromatic
#5D1BA6 #7A23DB #9A57E4 #BA8CEC #D9C0F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A57E4#FFFFFF#000000##000000
##9A57E41.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)
#0078E8
Deuteranopia (green-blind)
#2B79E1
Tritanopia (blue-blind)
#8B7596
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a57e4;
/* rgb */ color: rgb(154, 87, 228);
/* oklch */ color: oklch(60.1% 0.207 302.5);
Tailwind
colors: {
  custom: {
    50: '#bc8aed',
    500: '#9a57e4',
    950: '#000000',
  },
}
SCSS
$custom: #9a57e4;
$custom-light: #bc8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a57e4",
  "rgb": {
    "r": 154,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 268.511,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.2066,
    "h": 302.5
  },
  "luminance": 0.19288
}

Semantic roles & 50–950 ramp

primary
#9A57E4
secondary
#CDE6B1
accent
#D41178
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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