#9A4CD3#9A4CD3

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

Color values

HEX#9A4CD3
RGBrgb(154, 76, 211)
HSLhsl(275, 61%, 56%)
HSVhsv(275, 64%, 83%)
CMYKcmyk(27%, 64%, 0%, 17.3%)
CIE-LABlab(47.93, 55.79, -56.77)
CIE-LCHlch(47.93, 79.59, 314.50°)
OKLaboklab(57.54% 0.1245 -0.1605)
OKLCHoklch(57.54% 0.203 307.8)
XYZxyz(27.6663, 16.7424, 63.3895)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CD3 #85D34C
analogous
#574CD3 #9A4CD3 #D34CC8
triadic
#9A4CD3 #D39A4C #4CD39A
tetradic
#9A4CD3 #D3574C #85D34C #4CC8D3
square
#9A4CD3 #D3574C #85D34C #4CC8D3
split-complementary
#9A4CD3 #C8D34C #4CD357
monochromatic
#5A2084 #7C2DB5 #9A4CD3 #B67DDF #D1AEEB

Accessibility & contrast

On white

4.83
#9A4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9A4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CD3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CD3#FFFFFF#000000##FFFFFF
##9A4CD31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#3273D0
Tritanopia (blue-blind)
#916889
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4cd3;
/* rgb */ color: rgb(154, 76, 211);
/* oklch */ color: oklch(57.5% 0.203 307.8);
Tailwind
colors: {
  custom: {
    50: '#bc83e1',
    500: '#9a4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cd3;
$custom-light: #bc83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cd3",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 274.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57538,
    "c": 0.20315,
    "h": 307.8
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#9A4CD3
secondary
#B9D9A2
accent
#E44487
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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