#7E2B83#7E2B83

#7E2B83 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.158 H 325.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7E2B83
RGBrgb(126, 43, 131)
HSLhsl(297, 51%, 34%)
HSVhsv(297, 67%, 51%)
CMYKcmyk(3.8%, 67.2%, 0%, 48.6%)
CIE-LABlab(33.57, 47.63, -32.36)
CIE-LCHlch(33.57, 57.58, 325.81°)
OKLaboklab(44.78% 0.1304 -0.0897)
OKLCHoklch(44.78% 0.158 325.5)
XYZxyz(13.5645, 7.8029, 22.2600)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B83 #30832B
analogous
#522B83 #7E2B83 #832B5C
triadic
#7E2B83 #837E2B #2B837E
tetradic
#7E2B83 #83522B #30832B #2B5C83
square
#7E2B83 #83522B #30832B #2B5C83
split-complementary
#7E2B83 #5C832B #2B8352
monochromatic
#250D27 #521C55 #7E2B83 #AA3AB1 #C45ECA

Accessibility & contrast

On white

8.20
#7E2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7E2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B83
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B83#FFFFFF#000000##FFFFFF
##7E2B831.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4886
Deuteranopia (green-blind)
#3C5381
Tritanopia (blue-blind)
#813853
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e2b83;
/* rgb */ color: rgb(126, 43, 131);
/* oklch */ color: oklch(44.8% 0.158 325.5);
Tailwind
colors: {
  custom: {
    50: '#a66ba7',
    500: '#7e2b83',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b83;
$custom-light: #a66ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b83",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 296.591,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44777,
    "c": 0.15828,
    "h": 325.5
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#7E2B83
secondary
#5FB05A
accent
#DA4E56
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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