#9A4BD2#9A4BD2

#9A4BD2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.203 H 308.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9A4BD2
RGBrgb(154, 75, 210)
HSLhsl(275, 60%, 56%)
HSVhsv(275, 64%, 82%)
CMYKcmyk(26.7%, 64.3%, 0%, 17.6%)
CIE-LABlab(47.70, 56.04, -56.58)
CIE-LCHlch(47.70, 79.64, 314.73°)
OKLaboklab(57.35% 0.1257 -0.1599)
OKLCHoklch(57.35% 0.203 308.2)
XYZxyz(27.4730, 16.5557, 62.7086)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BD2 #83D24B
analogous
#564BD2 #9A4BD2 #D24BC6
triadic
#9A4BD2 #D29A4B #4BD29A
tetradic
#9A4BD2 #D2564B #83D24B #4BC6D2
square
#9A4BD2 #D2564B #83D24B #4BC6D2
split-complementary
#9A4BD2 #C6D24B #4BD256
monochromatic
#5A2182 #7B2DB3 #9A4BD2 #B57CDE #D1ADEA

Accessibility & contrast

On white

4.87
#9A4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9A4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BD2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BD2#FFFFFF#000000##FFFFFF
##9A4BD21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#916788
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a4bd2;
/* rgb */ color: rgb(154, 75, 210);
/* oklch */ color: oklch(57.3% 0.203 308.2);
Tailwind
colors: {
  custom: {
    50: '#bc82e0',
    500: '#9a4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bd2;
$custom-light: #bc82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bd2",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 275.111,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.20344,
    "h": 308.2
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#9A4BD2
secondary
#B8D8A0
accent
#E34586
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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