#9D2EBC#9D2EBC

#9D2EBC is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.219 H 317.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9D2EBC
RGBrgb(157, 46, 188)
HSLhsl(287, 61%, 46%)
HSVhsv(287, 76%, 74%)
CMYKcmyk(16.5%, 75.5%, 0%, 26.3%)
CIE-LABlab(42.39, 64.16, -52.35)
CIE-LCHlch(42.39, 82.81, 320.79°)
OKLaboklab(53.19% 0.1616 -0.1473)
OKLCHoklch(53.19% 0.219 317.6)
XYZxyz(23.9574, 12.7540, 48.7670)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EBC #4DBC2E
analogous
#562EBC #9D2EBC #BC2E94
triadic
#9D2EBC #BC9D2E #2EBC9D
tetradic
#9D2EBC #BC562E #4DBC2E #2E94BC
square
#9D2EBC #BC562E #4DBC2E #2E94BC
split-complementary
#9D2EBC #94BC2E #2EBC56
monochromatic
#4B165A #74228B #9D2EBC #B852D5 #CC84E1

Accessibility & contrast

On white

5.91
#9D2EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2EBC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EBC#FFFFFF#000000##FFFFFF
##9D2EBC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3367B9
Tritanopia (blue-blind)
#9C4C74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2ebc;
/* rgb */ color: rgb(157, 46, 188);
/* oklch */ color: oklch(53.2% 0.219 317.6);
Tailwind
colors: {
  custom: {
    50: '#be73d1',
    500: '#9d2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ebc;
$custom-light: #be73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ebc",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 286.901,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.2186,
    "h": 317.6
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#9D2EBC
secondary
#8DCA7C
accent
#E44467
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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