#9C56F7#9C56F7

#9C56F7 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.5% C 0.229 H 299.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9C56F7
RGBrgb(156, 86, 247)
HSLhsl(266, 91%, 65%)
HSVhsv(266, 65%, 97%)
CMYKcmyk(36.8%, 65.2%, 0%, 3.1%)
CIE-LABlab(52.33, 59.79, -69.99)
CIE-LCHlch(52.33, 92.05, 310.51°)
OKLaboklab(61.52% 0.113 -0.1993)
OKLCHoklch(61.52% 0.229 299.6)
XYZxyz(33.8224, 20.4386, 90.1408)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56F7 #B1F756
analogous
#5660F7 #9C56F7 #EC56F7
triadic
#9C56F7 #F79C56 #56F79C
tetradic
#9C56F7 #F75660 #B1F756 #56F7EC
square
#9C56F7 #F75660 #B1F756 #56F7EC
split-complementary
#9C56F7 #F7EC56 #60F756
monochromatic
#5D0AC9 #7A1CF4 #9C56F7 #BE90FA #E0CBFD

Accessibility & contrast

On white

4.13
#9C56F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9C56F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56F7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56F7#FFFFFF#000000##000000
##9C56F71.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#877B9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c56f7;
/* rgb */ color: rgb(156, 86, 247);
/* oklch */ color: oklch(61.5% 0.229 299.6);
Tailwind
colors: {
  custom: {
    50: '#bf8afb',
    500: '#9c56f7',
    950: '#000000',
  },
}
SCSS
$custom: #9c56f7;
$custom-light: #bf8afb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56f7",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 266.087,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61515,
    "c": 0.22913,
    "h": 299.6
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#9C56F7
secondary
#D8F0B9
accent
#E60082
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C56F7

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

Preview Lab → · Contrast checker → · Palette generator →

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