#9D2CBF#9D2CBF

#9D2CBF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.223 H 316.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9D2CBF
RGBrgb(157, 44, 191)
HSLhsl(286, 63%, 46%)
HSVhsv(286, 77%, 75%)
CMYKcmyk(17.8%, 77%, 0%, 25.1%)
CIE-LABlab(42.36, 65.40, -54.16)
CIE-LCHlch(42.36, 84.92, 320.37°)
OKLaboklab(53.23% 0.1629 -0.1526)
OKLCHoklch(53.23% 0.223 316.9)
XYZxyz(24.2079, 12.7321, 50.4625)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CBF #4EBF2C
analogous
#532CBF #9D2CBF #BF2C97
triadic
#9D2CBF #BF9D2C #2CBF9D
tetradic
#9D2CBF #BF532C #4EBF2C #2C97BF
square
#9D2CBF #BF532C #4EBF2C #2C97BF
split-complementary
#9D2CBF #97BF2C #2CBF53
monochromatic
#4B155C #74218D #9D2CBF #B851D7 #CC83E2

Accessibility & contrast

On white

5.92
#9D2CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9D2CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CBF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CBF#FFFFFF#000000##FFFFFF
##9D2CBF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#9B4D75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2cbf;
/* rgb */ color: rgb(157, 44, 191);
/* oklch */ color: oklch(53.2% 0.223 316.9);
Tailwind
colors: {
  custom: {
    50: '#be72d3',
    500: '#9d2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cbf;
$custom-light: #be72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cbf",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 286.122,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.22316,
    "h": 316.9
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

primary
#9D2CBF
secondary
#8ECC7B
accent
#E64268
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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