#9C3ECD#9C3ECD

#9C3ECD is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.7% C 0.216 H 311.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9C3ECD
RGBrgb(156, 62, 205)
HSLhsl(279, 59%, 52%)
HSVhsv(279, 70%, 80%)
CMYKcmyk(23.9%, 69.8%, 0%, 19.6%)
CIE-LABlab(45.53, 61.24, -57.19)
CIE-LCHlch(45.53, 83.79, 316.96°)
OKLaboklab(55.74% 0.1429 -0.1616)
OKLCHoklch(55.74% 0.216 311.5)
XYZxyz(26.4503, 14.9216, 59.2326)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ECD #6FCD3E
analogous
#553ECD #9C3ECD #CD3EB6
triadic
#9C3ECD #CD9C3E #3ECD9C
tetradic
#9C3ECD #CD553E #6FCD3E #3EB6CD
square
#9C3ECD #CD553E #6FCD3E #3EB6CD
split-complementary
#9C3ECD #B6CD3E #3ECD55
monochromatic
#561E73 #7A2AA3 #9C3ECD #B56FDA #CE9FE6

Accessibility & contrast

On white

5.27
#9C3ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9C3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ECD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ECD#FFFFFF#000000##FFFFFF
##9C3ECD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#965D81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3ecd;
/* rgb */ color: rgb(156, 62, 205);
/* oklch */ color: oklch(55.7% 0.216 311.5);
Tailwind
colors: {
  custom: {
    50: '#be7bdd',
    500: '#9c3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ecd;
$custom-light: #be7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ecd",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 279.441,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.21569,
    "h": 311.5
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#9C3ECD
secondary
#AAD394
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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