#9C56E7#9C56E7

#9C56E7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.212 H 302.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9C56E7
RGBrgb(156, 86, 231)
HSLhsl(269, 75%, 62%)
HSVhsv(269, 63%, 91%)
CMYKcmyk(32.5%, 62.8%, 0%, 9.4%)
CIE-LABlab(51.26, 55.95, -62.75)
CIE-LCHlch(51.26, 84.08, 311.72°)
OKLaboklab(60.4% 0.1144 -0.1781)
OKLCHoklch(60.4% 0.212 302.7)
XYZxyz(31.4586, 19.4930, 77.6910)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56E7 #A1E756
analogous
#5658E7 #9C56E7 #E556E7
triadic
#9C56E7 #E79C56 #56E79C
tetradic
#9C56E7 #E75658 #A1E756 #56E7E5
square
#9C56E7 #E75658 #A1E756 #56E7E5
split-complementary
#9C56E7 #E7E556 #58E756
monochromatic
#5F18AA #7D20DF #9C56E7 #BB8CEF #DBC1F6

Accessibility & contrast

On white

4.29
#9C56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9C56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56E7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56E7#FFFFFF#000000##000000
##9C56E71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#277AE4
Tritanopia (blue-blind)
#8D7597
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c56e7;
/* rgb */ color: rgb(156, 86, 231);
/* oklch */ color: oklch(60.4% 0.212 302.7);
Tailwind
colors: {
  custom: {
    50: '#be89ef',
    500: '#9c56e7',
    950: '#000000',
  },
}
SCSS
$custom: #9c56e7;
$custom-light: #be89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56e7",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 268.966,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60404,
    "c": 0.21166,
    "h": 302.7
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

primary
#9C56E7
secondary
#CDE7B2
accent
#D70E76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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