#9A57CD#9A57CD

#9A57CD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.6% C 0.181 H 308.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9A57CD
RGBrgb(154, 87, 205)
HSLhsl(274, 54%, 57%)
HSVhsv(274, 58%, 80%)
CMYKcmyk(24.9%, 57.6%, 0%, 19.6%)
CIE-LABlab(49.61, 48.90, -50.64)
CIE-LCHlch(49.61, 70.40, 314.00°)
OKLaboklab(58.64% 0.1113 -0.1426)
OKLCHoklch(58.64% 0.181 308)
XYZxyz(27.7518, 18.0946, 59.7764)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A57CD #8ACD57
analogous
#5F57CD #9A57CD #CD57C5
triadic
#9A57CD #CD9A57 #57CD9A
tetradic
#9A57CD #CD5F57 #8ACD57 #57C5CD
square
#9A57CD #CD5F57 #8ACD57 #57C5CD
split-complementary
#9A57CD #C5CD57 #57CD5F
monochromatic
#5B2783 #7C35B2 #9A57CD #B686DB #D3B5E9

Accessibility & contrast

On white

4.55
#9A57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9A57CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A57CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A57CD#FFFFFF#000000##000000
##9A57CD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#926D8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a57cd;
/* rgb */ color: rgb(154, 87, 205);
/* oklch */ color: oklch(58.6% 0.181 308.0);
Tailwind
colors: {
  custom: {
    50: '#bb89dd',
    500: '#9a57cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a57cd;
$custom-light: #bb89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a57cd",
  "rgb": {
    "r": 154,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 274.068,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.18091,
    "h": 308
  },
  "luminance": 0.18094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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