#7F2B83#7F2B83

#7F2B83 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.159 H 325.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7F2B83
RGBrgb(127, 43, 131)
HSLhsl(297, 51%, 34%)
HSVhsv(297, 67%, 51%)
CMYKcmyk(3.1%, 67.2%, 0%, 48.6%)
CIE-LABlab(33.73, 47.89, -32.09)
CIE-LCHlch(33.73, 57.64, 326.17°)
OKLaboklab(44.93% 0.1316 -0.089)
OKLCHoklch(44.93% 0.159 325.9)
XYZxyz(13.7127, 7.8793, 22.2669)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B83 #2F832B
analogous
#532B83 #7F2B83 #832B5B
triadic
#7F2B83 #837F2B #2B837F
tetradic
#7F2B83 #83532B #2F832B #2B5B83
square
#7F2B83 #83532B #2F832B #2B5B83
split-complementary
#7F2B83 #5B832B #2B8353
monochromatic
#260D27 #521C55 #7F2B83 #AC3AB1 #C55ECA

Accessibility & contrast

On white

8.15
#7F2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7F2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B83
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B83#FFFFFF#000000##FFFFFF
##7F2B831.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4986
Deuteranopia (green-blind)
#3D5381
Tritanopia (blue-blind)
#823853
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7f2b83;
/* rgb */ color: rgb(127, 43, 131);
/* oklch */ color: oklch(44.9% 0.159 325.9);
Tailwind
colors: {
  custom: {
    50: '#a76ba7',
    500: '#7f2b83',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b83;
$custom-light: #a76ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b83",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 297.273,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.15881,
    "h": 325.9
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#7F2B83
secondary
#5EB05A
accent
#DA4E54
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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