#9D4ADB#9D4ADB

#9D4ADB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.215 H 307.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9D4ADB
RGBrgb(157, 74, 219)
HSLhsl(274, 67%, 57%)
HSVhsv(274, 66%, 86%)
CMYKcmyk(28.3%, 66.2%, 0%, 14.1%)
CIE-LABlab(48.49, 59.18, -60.43)
CIE-LCHlch(48.49, 84.58, 314.40°)
OKLaboklab(58.18% 0.13 -0.1711)
OKLCHoklch(58.18% 0.215 307.2)
XYZxyz(29.1369, 17.1805, 68.7853)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4ADB #88DB4A
analogous
#554ADB #9D4ADB #DB4AD0
triadic
#9D4ADB #DB9D4A #4ADB9D
tetradic
#9D4ADB #DB554A #88DB4A #4AD0DB
square
#9D4ADB #DB554A #88DB4A #4AD0DB
split-complementary
#9D4ADB #D0DB4A #4ADB55
monochromatic
#5E1C8E #7F26C1 #9D4ADB #B97DE5 #D4B0EF

Accessibility & contrast

On white

4.73
#9D4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9D4ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4ADB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4ADB#FFFFFF#000000##FFFFFF
##9D4ADB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#93698C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4adb;
/* rgb */ color: rgb(157, 74, 219);
/* oklch */ color: oklch(58.2% 0.215 307.2);
Tailwind
colors: {
  custom: {
    50: '#be82e7',
    500: '#9d4adb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4adb;
$custom-light: #be82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4adb",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 274.345,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.21492,
    "h": 307.2
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#9D4ADB
secondary
#BCDEA3
accent
#EA3E87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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