#9A56ED#9A56ED

#9A56ED is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.218 H 300.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9A56ED
RGBrgb(154, 86, 237)
HSLhsl(267, 81%, 63%)
HSVhsv(267, 64%, 93%)
CMYKcmyk(35%, 63.7%, 0%, 7.1%)
CIE-LABlab(51.43, 56.97, -65.87)
CIE-LCHlch(51.43, 87.08, 310.86°)
OKLaboklab(60.6% 0.1114 -0.1873)
OKLCHoklch(60.6% 0.218 300.7)
XYZxyz(31.9366, 19.6398, 82.2127)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A56ED #A9ED56
analogous
#565DED #9A56ED #E656ED
triadic
#9A56ED #ED9A56 #56ED9A
tetradic
#9A56ED #ED565D #A9ED56 #56EDE6
square
#9A56ED #ED565D #A9ED56 #56EDE6
split-complementary
#9A56ED #EDE656 #5DED56
monochromatic
#5C13B5 #791FE7 #9A56ED #BB8DF3 #DCC5F9

Accessibility & contrast

On white

4.26
#9A56ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9A56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A56ED
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A56ED#FFFFFF#000000##000000
##9A56ED1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#117AEA
Tritanopia (blue-blind)
#88789A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9a56ed;
/* rgb */ color: rgb(154, 86, 237);
/* oklch */ color: oklch(60.6% 0.218 300.7);
Tailwind
colors: {
  custom: {
    50: '#bd89f4',
    500: '#9a56ed',
    950: '#000000',
  },
}
SCSS
$custom: #9a56ed;
$custom-light: #bd89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a56ed",
  "rgb": {
    "r": 154,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 267.02,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60601,
    "c": 0.21789,
    "h": 300.7
  },
  "luminance": 0.1964
}

Semantic roles & 50–950 ramp

primary
#9A56ED
secondary
#D2EAB4
accent
#DD087D
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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