#9C3EDD#9C3EDD

#9C3EDD is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.9% C 0.231 H 307.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9C3EDD
RGBrgb(156, 62, 221)
HSLhsl(275, 70%, 55%)
HSVhsv(275, 72%, 87%)
CMYKcmyk(29.4%, 71.9%, 0%, 13.3%)
CIE-LABlab(46.62, 64.66, -64.58)
CIE-LCHlch(46.62, 91.39, 315.03°)
OKLaboklab(56.87% 0.1407 -0.1833)
OKLCHoklch(56.87% 0.231 307.5)
XYZxyz(28.4813, 15.7340, 69.9292)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3EDD #7FDD3E
analogous
#4D3EDD #9C3EDD #DD3ECE
triadic
#9C3EDD #DD9C3E #3EDD9C
tetradic
#9C3EDD #DD4D3E #7FDD3E #3ECEDD
square
#9C3EDD #DD4D3E #7FDD3E #3ECEDD
split-complementary
#9C3EDD #CEDD3E #3EDD4D
monochromatic
#5B1889 #7D21BD #9C3EDD #B772E6 #D1A6EF

Accessibility & contrast

On white

5.06
#9C3EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9C3EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3EDD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3EDD#FFFFFF#000000##FFFFFF
##9C3EDD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#91638A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c3edd;
/* rgb */ color: rgb(156, 62, 221);
/* oklch */ color: oklch(56.9% 0.231 307.5);
Tailwind
colors: {
  custom: {
    50: '#be7ce8',
    500: '#9c3edd',
    950: '#000000',
  },
}
SCSS
$custom: #9c3edd;
$custom-light: #be7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3edd",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 221
  },
  "hsl": {
    "h": 275.472,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.23107,
    "h": 307.5
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#9C3EDD
secondary
#B5DD9A
accent
#ED3B84
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C3EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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