#9C56EF#9C56EF

#9C56EF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.220 H 301.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9C56EF
RGBrgb(156, 86, 239)
HSLhsl(267, 83%, 64%)
HSVhsv(267, 64%, 94%)
CMYKcmyk(34.7%, 64%, 0%, 6.3%)
CIE-LABlab(51.79, 57.86, -66.39)
CIE-LCHlch(51.79, 88.07, 311.07°)
OKLaboklab(60.95% 0.1138 -0.1888)
OKLCHoklch(60.95% 0.22 301.1)
XYZxyz(32.6143, 19.9553, 83.7781)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56EF #A9EF56
analogous
#565CEF #9C56EF #E856EF
triadic
#9C56EF #EF9C56 #56EF9C
tetradic
#9C56EF #EF565C #A9EF56 #56EFE8
square
#9C56EF #EF565C #A9EF56 #56EFE8
split-complementary
#9C56EF #EFE856 #5CEF56
monochromatic
#5E12B9 #7B1EEA #9C56EF #BD8EF4 #DDC6FA

Accessibility & contrast

On white

4.21
#9C56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9C56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56EF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56EF#FFFFFF#000000##000000
##9C56EF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#117BEC
Tritanopia (blue-blind)
#8A789B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c56ef;
/* rgb */ color: rgb(156, 86, 239);
/* oklch */ color: oklch(61.0% 0.220 301.1);
Tailwind
colors: {
  custom: {
    50: '#bf8af5',
    500: '#9c56ef',
    950: '#000000',
  },
}
SCSS
$custom: #9c56ef;
$custom-light: #bf8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56ef",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 267.451,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.22042,
    "h": 301.1
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#9C56EF
secondary
#D3EBB5
accent
#DF067C
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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