#9D2FB2#9D2FB2

#9D2FB2 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.209 H 320.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9D2FB2
RGBrgb(157, 47, 178)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 74%, 70%)
CMYKcmyk(11.8%, 73.6%, 0%, 30.2%)
CIE-LABlab(41.87, 61.94, -47.30)
CIE-LCHlch(41.87, 77.93, 322.63°)
OKLaboklab(52.61% 0.1616 -0.1325)
OKLCHoklch(52.61% 0.209 320.7)
XYZxyz(22.9561, 12.4167, 43.2983)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FB2 #44B22F
analogous
#5C2FB2 #9D2FB2 #B22F86
triadic
#9D2FB2 #B29D2F #2FB29D
tetradic
#9D2FB2 #B25C2F #44B22F #2F86B2
square
#9D2FB2 #B25C2F #44B22F #2F86B2
split-complementary
#9D2FB2 #86B22F #2FB25C
monochromatic
#481551 #722282 #9D2FB2 #BB4ED0 #CE7EDD

Accessibility & contrast

On white

6.03
#9D2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FB2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FB2#FFFFFF#000000##FFFFFF
##9D2FB21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#9E496E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2fb2;
/* rgb */ color: rgb(157, 47, 178);
/* oklch */ color: oklch(52.6% 0.209 320.7);
Tailwind
colors: {
  custom: {
    50: '#be73ca',
    500: '#9d2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fb2;
$custom-light: #be73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fb2",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 290.382,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52613,
    "c": 0.20899,
    "h": 320.7
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#9D2FB2
secondary
#84C677
accent
#E1465F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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