#9D3490#9D3490

#9D3490 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.175 H 333.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9D3490
RGBrgb(157, 52, 144)
HSLhsl(307, 50%, 41%)
HSVhsv(307, 67%, 62%)
CMYKcmyk(0%, 66.9%, 8.3%, 38.4%)
CIE-LABlab(40.64, 54.09, -28.87)
CIE-LCHlch(40.64, 61.32, 331.91°)
OKLaboklab(51.11% 0.1559 -0.079)
OKLCHoklch(51.11% 0.175 333.1)
XYZxyz(20.1667, 11.6393, 27.5646)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3490 #349D41
analogous
#75349D #9D3490 #9D345B
triadic
#9D3490 #909D34 #34909D
tetradic
#9D3490 #9D7534 #349D41 #345B9D
square
#9D3490 #9D7534 #349D41 #345B9D
split-complementary
#9D3490 #5B9D34 #349D75
monochromatic
#41163C #6F2566 #9D3490 #C34BB4 #D379C7

Accessibility & contrast

On white

6.31
#9D3490 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9D3490 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3490
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3490#FFFFFF#000000##FFFFFF
##9D34901.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315693
Deuteranopia (green-blind)
#55658D
Tritanopia (blue-blind)
#A43D5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d3490;
/* rgb */ color: rgb(157, 52, 144);
/* oklch */ color: oklch(51.1% 0.175 333.1);
Tailwind
colors: {
  custom: {
    50: '#bd74b1',
    500: '#9d3490',
    950: '#000000',
  },
}
SCSS
$custom: #9d3490;
$custom-light: #bd74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3490",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 307.429,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.17481,
    "h": 333.1
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#9D3490
secondary
#72BB7B
accent
#DA5F4E
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D3490

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

Preview Lab → · Contrast checker → · Palette generator →

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