#7F2D92#7F2D92

#7F2D92 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.170 H 319.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7F2D92
RGBrgb(127, 45, 146)
HSLhsl(289, 53%, 37%)
HSVhsv(289, 69%, 57%)
CMYKcmyk(13%, 69.2%, 0%, 42.7%)
CIE-LABlab(34.93, 49.93, -39.43)
CIE-LCHlch(34.93, 63.62, 321.70°)
OKLaboklab(46.08% 0.1292 -0.1103)
OKLCHoklch(46.08% 0.17 319.5)
XYZxyz(14.8784, 8.4648, 28.0387)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D92 #40922D
analogous
#4D2D92 #7F2D92 #922D72
triadic
#7F2D92 #927F2D #2D927F
tetradic
#7F2D92 #924D2D #40922D #2D7292
square
#7F2D92 #924D2D #40922D #2D7292
split-complementary
#7F2D92 #72922D #2D924D
monochromatic
#2E1034 #561F63 #7F2D92 #A83BC1 #BD69D1

Accessibility & contrast

On white

7.80
#7F2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7F2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D92
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D92#FFFFFF#000000##FFFFFF
##7F2D921.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034D95
Deuteranopia (green-blind)
#355590
Tritanopia (blue-blind)
#7F3F5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f2d92;
/* rgb */ color: rgb(127, 45, 146);
/* oklch */ color: oklch(46.1% 0.170 319.5);
Tailwind
colors: {
  custom: {
    50: '#a76db2',
    500: '#7f2d92',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d92;
$custom-light: #a76db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d92",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 288.713,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4608,
    "c": 0.1699,
    "h": 319.5
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#7F2D92
secondary
#73B763
accent
#DC4C67
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2D92

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

Preview Lab → · Contrast checker → · Palette generator →

#7F2D92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva