#9C5DDF#9C5DDF

#9C5DDF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.8% C 0.193 H 303.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9C5DDF
RGBrgb(156, 93, 223)
HSLhsl(269, 67%, 62%)
HSVhsv(269, 58%, 87%)
CMYKcmyk(30%, 58.3%, 0%, 12.5%)
CIE-LABlab(52.09, 50.46, -56.90)
CIE-LCHlch(52.09, 76.06, 311.57°)
OKLaboklab(60.85% 0.1065 -0.1609)
OKLCHoklch(60.85% 0.193 303.5)
XYZxyz(30.9409, 20.2244, 72.0714)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DDF #A0DF5D
analogous
#5D5FDF #9C5DDF #DD5DDF
triadic
#9C5DDF #DF9C5D #5DDF9C
tetradic
#9C5DDF #DF5D5F #A0DF5D #5DDFDD
square
#9C5DDF #DF5D5F #A0DF5D #5DDFDD
split-complementary
#9C5DDF #DFDD5D #5FDF5D
monochromatic
#5F20A2 #7D2AD5 #9C5DDF #BB90E9 #DAC3F3

Accessibility & contrast

On white

4.16
#9C5DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C5DDF#FFFFFF#000000##000000
##9C5DDF1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#907795
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c5ddf;
/* rgb */ color: rgb(156, 93, 223);
/* oklch */ color: oklch(60.8% 0.193 303.5);
Tailwind
colors: {
  custom: {
    50: '#bd8dea',
    500: '#9c5ddf',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ddf;
$custom-light: #bd8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ddf",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 269.077,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60848,
    "c": 0.19297,
    "h": 303.5
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#9C5DDF
secondary
#CDE4B4
accent
#CF1776
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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