#9C5EE3#9C5EE3

#9C5EE3 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.2% C 0.196 H 302.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C5EE3
RGBrgb(156, 94, 227)
HSLhsl(268, 70%, 63%)
HSVhsv(268, 59%, 89%)
CMYKcmyk(31.3%, 58.6%, 0%, 11%)
CIE-LABlab(52.53, 50.90, -58.45)
CIE-LCHlch(52.53, 77.51, 311.05°)
OKLaboklab(61.25% 0.1053 -0.1655)
OKLCHoklch(61.25% 0.196 302.5)
XYZxyz(31.5749, 20.6193, 74.9746)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EE3 #A5E35E
analogous
#5E62E3 #9C5EE3 #DE5EE3
triadic
#9C5EE3 #E39C5E #5EE39C
tetradic
#9C5EE3 #E35E62 #A5E35E #5EE3DE
square
#9C5EE3 #E35E62 #A5E35E #5EE3DE
split-complementary
#9C5EE3 #E3DE5E #62E35E
monochromatic
#5F1DA9 #7C2ADA #9C5EE3 #BC92EC #DCC6F5

Accessibility & contrast

On white

4.10
#9C5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9C5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EE3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EE3#FFFFFF#000000##000000
##9C5EE31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7CE7
Deuteranopia (green-blind)
#3B7DE0
Tritanopia (blue-blind)
#8E7998
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5ee3;
/* rgb */ color: rgb(156, 94, 227);
/* oklch */ color: oklch(61.2% 0.196 302.5);
Tailwind
colors: {
  custom: {
    50: '#bd8eec',
    500: '#9c5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ee3;
$custom-light: #bd8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ee3",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 267.97,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.19611,
    "h": 302.5
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#9C5EE3
secondary
#D0E6B6
accent
#D21379
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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