#9D4BDA#9D4BDA

#9D4BDA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.213 H 307.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9D4BDA
RGBrgb(157, 75, 218)
HSLhsl(274, 66%, 57%)
HSVhsv(274, 66%, 85%)
CMYKcmyk(28%, 65.6%, 0%, 14.5%)
CIE-LABlab(48.59, 58.49, -59.69)
CIE-LCHlch(48.59, 83.57, 314.42°)
OKLaboklab(58.24% 0.129 -0.169)
OKLCHoklch(58.24% 0.213 307.4)
XYZxyz(29.0729, 17.2626, 68.1165)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BDA #88DA4B
analogous
#564BDA #9D4BDA #DA4BCF
triadic
#9D4BDA #DA9D4B #4BDA9D
tetradic
#9D4BDA #DA564B #88DA4B #4BCFDA
square
#9D4BDA #DA564B #88DA4B #4BCFDA
split-complementary
#9D4BDA #CFDA4B #4BDA56
monochromatic
#5E1D8E #7F28C0 #9D4BDA #B97EE4 #D4B1EF

Accessibility & contrast

On white

4.72
#9D4BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9D4BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BDA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BDA#FFFFFF#000000##FFFFFF
##9D4BDA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#2B74D7
Tritanopia (blue-blind)
#93698C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4bda;
/* rgb */ color: rgb(157, 75, 218);
/* oklch */ color: oklch(58.2% 0.213 307.4);
Tailwind
colors: {
  custom: {
    50: '#be83e6',
    500: '#9d4bda',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bda;
$custom-light: #be83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bda",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 274.406,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.2126,
    "h": 307.4
  },
  "luminance": 0.17262
}

Semantic roles & 50–950 ramp

primary
#9D4BDA
secondary
#BCDDA4
accent
#E93F87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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