#9A56CF#9A56CF

#9A56CF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.185 H 307.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9A56CF
RGBrgb(154, 86, 207)
HSLhsl(274, 56%, 57%)
HSVhsv(274, 58%, 81%)
CMYKcmyk(25.6%, 58.5%, 0%, 18.8%)
CIE-LABlab(49.53, 49.88, -51.91)
CIE-LCHlch(49.53, 71.99, 313.86°)
OKLaboklab(58.62% 0.1126 -0.1463)
OKLCHoklch(58.62% 0.185 307.6)
XYZxyz(27.9144, 18.0309, 61.0292)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A56CF #8BCF56
analogous
#5E56CF #9A56CF #CF56C7
triadic
#9A56CF #CF9A56 #56CF9A
tetradic
#9A56CF #CF5E56 #8BCF56 #56C7CF
square
#9A56CF #CF5E56 #8BCF56 #56C7CF
split-complementary
#9A56CF #C7CF56 #56CF5E
monochromatic
#5B2685 #7C33B5 #9A56CF #B686DD #D3B5EA

Accessibility & contrast

On white

4.56
#9A56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9A56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A56CF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A56CF#FFFFFF#000000##000000
##9A56CF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#926D8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a56cf;
/* rgb */ color: rgb(154, 86, 207);
/* oklch */ color: oklch(58.6% 0.185 307.6);
Tailwind
colors: {
  custom: {
    50: '#bb89de',
    500: '#9a56cf',
    950: '#000000',
  },
}
SCSS
$custom: #9a56cf;
$custom-light: #bb89de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a56cf",
  "rgb": {
    "r": 154,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 273.719,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.18463,
    "h": 307.6
  },
  "luminance": 0.18031
}

Semantic roles & 50–950 ramp

primary
#9A56CF
secondary
#BDD9A8
accent
#DF498B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9A56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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