#9A56CC#9A56CC

#9A56CC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.181 H 308.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9A56CC
RGBrgb(154, 86, 204)
HSLhsl(275, 54%, 57%)
HSVhsv(275, 58%, 80%)
CMYKcmyk(24.5%, 57.8%, 0%, 20%)
CIE-LABlab(49.36, 49.19, -50.47)
CIE-LCHlch(49.36, 70.48, 314.26°)
OKLaboklab(58.44% 0.1126 -0.1421)
OKLCHoklch(58.44% 0.181 308.4)
XYZxyz(27.5511, 17.8856, 59.1159)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A56CC #88CC56
analogous
#5F56CC #9A56CC #CC56C3
triadic
#9A56CC #CC9A56 #56CC9A
tetradic
#9A56CC #CC5F56 #88CC56 #56C3CC
square
#9A56CC #CC5F56 #88CC56 #56C3CC
split-complementary
#9A56CC #C3CC56 #56CC5F
monochromatic
#5B2781 #7C35B0 #9A56CC #B685DA #D2B4E8

Accessibility & contrast

On white

4.59
#9A56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9A56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A56CC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A56CC#FFFFFF#000000##FFFFFF
##9A56CC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#936C89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a56cc;
/* rgb */ color: rgb(154, 86, 204);
/* oklch */ color: oklch(58.4% 0.181 308.4);
Tailwind
colors: {
  custom: {
    50: '#bb89dc',
    500: '#9a56cc',
    950: '#000000',
  },
}
SCSS
$custom: #9a56cc;
$custom-light: #bb89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a56cc",
  "rgb": {
    "r": 154,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 274.576,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.18129,
    "h": 308.4
  },
  "luminance": 0.17885
}

Semantic roles & 50–950 ramp

primary
#9A56CC
secondary
#BBD7A7
accent
#DD4B89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9A56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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