#9A57CE#9A57CE

#9A57CE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.182 H 307.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9A57CE
RGBrgb(154, 87, 206)
HSLhsl(274, 55%, 57%)
HSVhsv(274, 58%, 81%)
CMYKcmyk(25.2%, 57.8%, 0%, 19.2%)
CIE-LABlab(49.67, 49.13, -51.12)
CIE-LCHlch(49.67, 70.90, 313.86°)
OKLaboklab(58.7% 0.1114 -0.144)
OKLCHoklch(58.7% 0.182 307.7)
XYZxyz(27.8729, 18.1430, 60.4141)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A57CE #8BCE57
analogous
#5F57CE #9A57CE #CE57C6
triadic
#9A57CE #CE9A57 #57CE9A
tetradic
#9A57CE #CE5F57 #8BCE57 #57C6CE
square
#9A57CE #CE5F57 #8BCE57 #57C6CE
split-complementary
#9A57CE #C6CE57 #57CE5F
monochromatic
#5B2784 #7C34B3 #9A57CE #B686DC #D3B6EA

Accessibility & contrast

On white

4.54
#9A57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9A57CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A57CE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A57CE#FFFFFF#000000##000000
##9A57CE1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D2
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#926E8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a57ce;
/* rgb */ color: rgb(154, 87, 206);
/* oklch */ color: oklch(58.7% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#bb89dd',
    500: '#9a57ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a57ce;
$custom-light: #bb89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a57ce",
  "rgb": {
    "r": 154,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 273.782,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.18203,
    "h": 307.7
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#9A57CE
secondary
#BDD8A8
accent
#DE4A8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9A57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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