#7F2B92#7F2B92

#7F2B92 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.173 H 319.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7F2B92
RGBrgb(127, 43, 146)
HSLhsl(289, 54%, 37%)
HSVhsv(289, 71%, 57%)
CMYKcmyk(13%, 70.5%, 0%, 42.7%)
CIE-LABlab(34.63, 50.78, -39.91)
CIE-LCHlch(34.63, 64.58, 321.83°)
OKLaboklab(45.86% 0.1314 -0.1117)
OKLCHoklch(45.86% 0.173 319.6)
XYZxyz(14.8039, 8.3158, 28.0139)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B92 #3E922B
analogous
#4C2B92 #7F2B92 #922B72
triadic
#7F2B92 #927F2B #2B927F
tetradic
#7F2B92 #924C2B #3E922B #2B7292
square
#7F2B92 #924C2B #3E922B #2B7292
split-complementary
#7F2B92 #72922B #2B924C
monochromatic
#2D0F33 #561D63 #7F2B92 #A839C1 #BE66D2

Accessibility & contrast

On white

7.89
#7F2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7F2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B92
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B92#FFFFFF#000000##FFFFFF
##7F2B921.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#335490
Tritanopia (blue-blind)
#7F3E5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f2b92;
/* rgb */ color: rgb(127, 43, 146);
/* oklch */ color: oklch(45.9% 0.173 319.6);
Tailwind
colors: {
  custom: {
    50: '#a76cb2',
    500: '#7f2b92',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b92;
$custom-light: #a76cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b92",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 288.932,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45864,
    "c": 0.17251,
    "h": 319.6
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#7F2B92
secondary
#71B861
accent
#DE4A65
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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