#9A4FDD#9A4FDD

#9A4FDD is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.210 H 305.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9A4FDD
RGBrgb(154, 79, 221)
HSLhsl(272, 68%, 59%)
HSVhsv(272, 64%, 87%)
CMYKcmyk(30.3%, 64.3%, 0%, 13.3%)
CIE-LABlab(49.11, 56.62, -60.58)
CIE-LCHlch(49.11, 82.92, 313.07°)
OKLaboklab(58.59% 0.1204 -0.1717)
OKLCHoklch(58.59% 0.21 305)
XYZxyz(29.1707, 17.6826, 70.2689)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FDD #92DD4F
analogous
#534FDD #9A4FDD #DD4FD9
triadic
#9A4FDD #DD9A4F #4FDD9A
tetradic
#9A4FDD #DD534F #92DD4F #4FD9DD
square
#9A4FDD #DD534F #92DD4F #4FD9DD
split-complementary
#9A4FDD #D9DD4F #4FDD53
monochromatic
#5C1D95 #7C27C8 #9A4FDD #B782E7 #D5B6F1

Accessibility & contrast

On white

4.63
#9A4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9A4FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4FDD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FDD#FFFFFF#000000##FFFFFF
##9A4FDD1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#8E6D8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a4fdd;
/* rgb */ color: rgb(154, 79, 221);
/* oklch */ color: oklch(58.6% 0.210 305.0);
Tailwind
colors: {
  custom: {
    50: '#bc85e8',
    500: '#9a4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fdd;
$custom-light: #bc85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fdd",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 271.69,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58592,
    "c": 0.20973,
    "h": 305
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#9A4FDD
secondary
#C2E0A8
accent
#EA3D8F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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