#9D2FB0#9D2FB0

#9D2FB0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.207 H 321.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D2FB0
RGBrgb(157, 47, 176)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 73%, 69%)
CMYKcmyk(10.8%, 73.3%, 0%, 31%)
CIE-LABlab(41.75, 61.57, -46.31)
CIE-LCHlch(41.75, 77.04, 323.05°)
OKLaboklab(52.49% 0.1618 -0.1296)
OKLCHoklch(52.49% 0.207 321.3)
XYZxyz(22.7567, 12.3370, 42.2485)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FB0 #42B02F
analogous
#5C2FB0 #9D2FB0 #B02F82
triadic
#9D2FB0 #B09D2F #2FB09D
tetradic
#9D2FB0 #B05C2F #42B02F #2F82B0
square
#9D2FB0 #B05C2F #42B02F #2F82B0
split-complementary
#9D2FB0 #82B02F #2FB05C
monochromatic
#47154F #722280 #9D2FB0 #BC4DCF #CE7DDC

Accessibility & contrast

On white

6.06
#9D2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9D2FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FB0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FB0#FFFFFF#000000##FFFFFF
##9D2FB01.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#3F66AD
Tritanopia (blue-blind)
#9E486D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2fb0;
/* rgb */ color: rgb(157, 47, 176);
/* oklch */ color: oklch(52.5% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#be73c8',
    500: '#9d2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fb0;
$custom-light: #be73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fb0",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 291.163,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.20729,
    "h": 321.3
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#9D2FB0
secondary
#82C576
accent
#E1475D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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