#9A4CDE#9A4CDE

#9A4CDE is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.215 H 305.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9A4CDE
RGBrgb(154, 76, 222)
HSLhsl(272, 69%, 58%)
HSVhsv(272, 66%, 87%)
CMYKcmyk(30.6%, 65.8%, 0%, 12.9%)
CIE-LABlab(48.65, 58.29, -61.88)
CIE-LCHlch(48.65, 85.02, 313.29°)
OKLaboklab(58.28% 0.1236 -0.1755)
OKLCHoklch(58.28% 0.215 305.2)
XYZxyz(29.0928, 17.3130, 70.9022)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CDE #90DE4C
analogous
#514CDE #9A4CDE #DE4CD9
triadic
#9A4CDE #DE9A4C #4CDE9A
tetradic
#9A4CDE #DE514C #90DE4C #4CD9DE
square
#9A4CDE #DE514C #90DE4C #4CD9DE
split-complementary
#9A4CDE #D9DE4C #4CDE51
monochromatic
#5C1B94 #7C25C8 #9A4CDE #B780E8 #D4B3F1

Accessibility & contrast

On white

4.71
#9A4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9A4CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CDE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CDE#FFFFFF#000000##FFFFFF
##9A4CDE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#2074DB
Tritanopia (blue-blind)
#8E6C8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a4cde;
/* rgb */ color: rgb(154, 76, 222);
/* oklch */ color: oklch(58.3% 0.215 305.2);
Tailwind
colors: {
  custom: {
    50: '#bc83e9',
    500: '#9a4cde',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cde;
$custom-light: #bc83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cde",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 272.055,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58284,
    "c": 0.2147,
    "h": 305.2
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#9A4CDE
secondary
#C1E0A6
accent
#EC3C8E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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