#9A4CD2#9A4CD2

#9A4CD2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.202 H 308.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9A4CD2
RGBrgb(154, 76, 210)
HSLhsl(275, 60%, 56%)
HSVhsv(275, 64%, 82%)
CMYKcmyk(26.7%, 63.8%, 0%, 17.6%)
CIE-LABlab(47.87, 55.56, -56.30)
CIE-LCHlch(47.87, 79.10, 314.62°)
OKLaboklab(57.47% 0.1246 -0.1591)
OKLCHoklch(57.47% 0.202 308.1)
XYZxyz(27.5413, 16.6924, 62.7314)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CD2 #84D24C
analogous
#574CD2 #9A4CD2 #D24CC7
triadic
#9A4CD2 #D29A4C #4CD29A
tetradic
#9A4CD2 #D2574C #84D24C #4CC7D2
square
#9A4CD2 #D2574C #84D24C #4CC7D2
split-complementary
#9A4CD2 #C7D24C #4CD257
monochromatic
#5A2183 #7B2DB4 #9A4CD2 #B67DDE #D1AEEB

Accessibility & contrast

On white

4.84
#9A4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9A4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CD2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CD2#FFFFFF#000000##FFFFFF
##9A4CD21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3472CF
Tritanopia (blue-blind)
#916888
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4cd2;
/* rgb */ color: rgb(154, 76, 210);
/* oklch */ color: oklch(57.5% 0.202 308.1);
Tailwind
colors: {
  custom: {
    50: '#bc83e0',
    500: '#9a4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cd2;
$custom-light: #bc83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cd2",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 274.925,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.2021,
    "h": 308.1
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#9A4CD2
secondary
#B8D9A1
accent
#E34587
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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