#9A57F3#9A57F3

#9A57F3 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.223 H 299.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9A57F3
RGBrgb(154, 87, 243)
HSLhsl(266, 87%, 65%)
HSVhsv(266, 64%, 95%)
CMYKcmyk(36.6%, 64.2%, 0%, 4.7%)
CIE-LABlab(52.01, 57.93, -68.27)
CIE-LCHlch(52.01, 89.54, 310.31°)
OKLaboklab(61.15% 0.1098 -0.1944)
OKLCHoklch(61.15% 0.223 299.5)
XYZxyz(32.9083, 20.1571, 86.9336)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A57F3 #B0F357
analogous
#5762F3 #9A57F3 #E857F3
triadic
#9A57F3 #F39A57 #57F39A
tetradic
#9A57F3 #F35762 #B0F357 #57F3E8
square
#9A57F3 #F35762 #B0F357 #57F3E8
split-complementary
#9A57F3 #F3E857 #62F357
monochromatic
#5B0EC2 #781EEF #9A57F3 #BC90F7 #DFC9FB

Accessibility & contrast

On white

4.17
#9A57F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9A57F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A57F3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A57F3#FFFFFF#000000##000000
##9A57F31.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#867A9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9a57f3;
/* rgb */ color: rgb(154, 87, 243);
/* oklch */ color: oklch(61.2% 0.223 299.5);
Tailwind
colors: {
  custom: {
    50: '#bd8af8',
    500: '#9a57f3',
    950: '#000000',
  },
}
SCSS
$custom: #9a57f3;
$custom-light: #bd8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a57f3",
  "rgb": {
    "r": 154,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 265.769,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61152,
    "c": 0.22321,
    "h": 299.5
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#9A57F3
secondary
#D7EEB8
accent
#E30283
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A57F3

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

Preview Lab → · Contrast checker → · Palette generator →

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