#9C5EDD#9C5EDD

#9C5EDD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.189 H 303.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9C5EDD
RGBrgb(156, 94, 221)
HSLhsl(269, 65%, 62%)
HSVhsv(269, 57%, 87%)
CMYKcmyk(29.4%, 57.5%, 0%, 13.3%)
CIE-LABlab(52.17, 49.46, -55.65)
CIE-LCHlch(52.17, 74.45, 311.63°)
OKLaboklab(60.87% 0.1053 -0.1572)
OKLCHoklch(60.87% 0.189 303.8)
XYZxyz(30.7612, 20.2939, 70.6891)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EDD #9FDD5E
analogous
#5E60DD #9C5EDD #DB5EDD
triadic
#9C5EDD #DD9C5E #5EDD9C
tetradic
#9C5EDD #DD5E60 #9FDD5E #5EDDDB
square
#9C5EDD #DD5E60 #9FDD5E #5EDDDB
split-complementary
#9C5EDD #DDDB5E #60DD5E
monochromatic
#5F229F #7D2CD2 #9C5EDD #BB91E8 #DAC3F2

Accessibility & contrast

On white

4.15
#9C5EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9C5EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EDD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EDD#FFFFFF#000000##000000
##9C5EDD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#277BE1
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#907795
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c5edd;
/* rgb */ color: rgb(156, 94, 221);
/* oklch */ color: oklch(60.9% 0.189 303.8);
Tailwind
colors: {
  custom: {
    50: '#bd8ee8',
    500: '#9c5edd',
    950: '#000000',
  },
}
SCSS
$custom: #9c5edd;
$custom-light: #bd8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5edd",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 269.291,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.18923,
    "h": 303.8
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#9C5EDD
secondary
#CCE3B4
accent
#CD1975
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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