#9A57EF#9A57EF

#9A57EF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.219 H 300.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9A57EF
RGBrgb(154, 87, 239)
HSLhsl(266, 83%, 64%)
HSVhsv(266, 64%, 94%)
CMYKcmyk(35.6%, 63.6%, 0%, 6.3%)
CIE-LABlab(51.74, 56.96, -66.47)
CIE-LCHlch(51.74, 87.54, 310.59°)
OKLaboklab(60.87% 0.1101 -0.1891)
OKLCHoklch(60.87% 0.219 300.2)
XYZxyz(32.3108, 19.9182, 83.7869)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A57EF #ACEF57
analogous
#5760EF #9A57EF #E657EF
triadic
#9A57EF #EF9A57 #57EF9A
tetradic
#9A57EF #EF5760 #ACEF57 #57EFE6
square
#9A57EF #EF5760 #ACEF57 #57EFE6
split-complementary
#9A57EF #EFE657 #60EF57
monochromatic
#5C12BA #781FEA #9A57EF #BC8FF4 #DDC7FA

Accessibility & contrast

On white

4.21
#9A57EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9A57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A57EF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A57EF#FFFFFF#000000##000000
##9A57EF1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0D7AEC
Tritanopia (blue-blind)
#87799B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9a57ef;
/* rgb */ color: rgb(154, 87, 239);
/* oklch */ color: oklch(60.9% 0.219 300.2);
Tailwind
colors: {
  custom: {
    50: '#bd8af5',
    500: '#9a57ef',
    950: '#000000',
  },
}
SCSS
$custom: #9a57ef;
$custom-light: #bd8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a57ef",
  "rgb": {
    "r": 154,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 266.447,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.21879,
    "h": 300.2
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#9A57EF
secondary
#D4ECB6
accent
#DF0680
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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