#9C5AE8#9C5AE8

#9C5AE8 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.207 H 302.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9C5AE8
RGBrgb(156, 90, 232)
HSLhsl(268, 76%, 63%)
HSVhsv(268, 61%, 91%)
CMYKcmyk(32.8%, 61.2%, 0%, 9%)
CIE-LABlab(52.07, 54.17, -62.01)
CIE-LCHlch(52.07, 82.34, 311.14°)
OKLaboklab(61.01% 0.1098 -0.1759)
OKLCHoklch(61.01% 0.207 302)
XYZxyz(31.9285, 20.2064, 78.5464)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5AE8 #A6E85A
analogous
#5A5FE8 #9C5AE8 #E35AE8
triadic
#9C5AE8 #E89C5A #5AE89C
tetradic
#9C5AE8 #E85A5F #A6E85A #5AE8E3
square
#9C5AE8 #E85A5F #A6E85A #5AE8E3
split-complementary
#9C5AE8 #E8E35A #5FE85A
monochromatic
#5E18AF #7C24E1 #9C5AE8 #BC90EF #DCC5F7

Accessibility & contrast

On white

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

On black

5.04
#9C5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5AE8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5AE8#FFFFFF#000000##000000
##9C5AE81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#2D7CE5
Tritanopia (blue-blind)
#8D7899
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c5ae8;
/* rgb */ color: rgb(156, 90, 232);
/* oklch */ color: oklch(61.0% 0.207 302.0);
Tailwind
colors: {
  custom: {
    50: '#be8cf0',
    500: '#9c5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ae8;
$custom-light: #be8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ae8",
  "rgb": {
    "r": 156,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 267.887,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61012,
    "c": 0.20736,
    "h": 302
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#9C5AE8
secondary
#D1E8B5
accent
#D80E7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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