#9D2FBE#9D2FBE

#9D2FBE is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.219 H 317.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9D2FBE
RGBrgb(157, 47, 190)
HSLhsl(286, 60%, 46%)
HSVhsv(286, 75%, 75%)
CMYKcmyk(17.4%, 75.3%, 0%, 25.5%)
CIE-LABlab(42.64, 64.20, -53.11)
CIE-LCHlch(42.64, 83.32, 320.40°)
OKLaboklab(53.41% 0.1604 -0.1495)
OKLCHoklch(53.41% 0.219 317)
XYZxyz(24.2140, 12.9199, 49.9235)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FBE #50BE2F
analogous
#562FBE #9D2FBE #BE2F98
triadic
#9D2FBE #BE9D2F #2FBE9D
tetradic
#9D2FBE #BE562F #50BE2F #2F98BE
square
#9D2FBE #BE562F #50BE2F #2F98BE
split-complementary
#9D2FBE #98BE2F #2FBE56
monochromatic
#4C175C #74238D #9D2FBE #B855D5 #CC86E1

Accessibility & contrast

On white

5.86
#9D2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D2FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FBE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FBE#FFFFFF#000000##FFFFFF
##9D2FBE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#9B4E75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2fbe;
/* rgb */ color: rgb(157, 47, 190);
/* oklch */ color: oklch(53.4% 0.219 317.0);
Tailwind
colors: {
  custom: {
    50: '#be73d2',
    500: '#9d2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fbe;
$custom-light: #be73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fbe",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 286.154,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.21928,
    "h": 317
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#9D2FBE
secondary
#90CB7E
accent
#E34469
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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