#7F2B93#7F2B93

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

Color values

HEX#7F2B93
RGBrgb(127, 43, 147)
HSLhsl(288, 55%, 37%)
HSVhsv(288, 71%, 58%)
CMYKcmyk(13.6%, 70.7%, 0%, 42.4%)
CIE-LABlab(34.70, 50.98, -40.42)
CIE-LCHlch(34.70, 65.05, 321.59°)
OKLaboklab(45.93% 0.1314 -0.1132)
OKLCHoklch(45.93% 0.173 319.2)
XYZxyz(14.8820, 8.3471, 28.4253)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B93 #3F932B
analogous
#4B2B93 #7F2B93 #932B73
triadic
#7F2B93 #937F2B #2B937F
tetradic
#7F2B93 #934B2B #3F932B #2B7393
square
#7F2B93 #934B2B #3F932B #2B7393
split-complementary
#7F2B93 #73932B #2B934B
monochromatic
#2D0F34 #561D64 #7F2B93 #A839C2 #BD66D2

Accessibility & contrast

On white

7.87
#7F2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7F2B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B93
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B93#FFFFFF#000000##FFFFFF
##7F2B931.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#325491
Tritanopia (blue-blind)
#7F3E5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f2b93;
/* rgb */ color: rgb(127, 43, 147);
/* oklch */ color: oklch(45.9% 0.173 319.2);
Tailwind
colors: {
  custom: {
    50: '#a76cb3',
    500: '#7f2b93',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b93;
$custom-light: #a76cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b93",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 288.462,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.17343,
    "h": 319.2
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#7F2B93
secondary
#72B961
accent
#DE4A66
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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