#7E2D83#7E2D83

#7E2D83 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.0% C 0.155 H 325.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7E2D83
RGBrgb(126, 45, 131)
HSLhsl(297, 49%, 35%)
HSVhsv(297, 66%, 51%)
CMYKcmyk(3.8%, 65.6%, 0%, 48.6%)
CIE-LABlab(33.88, 46.76, -31.86)
CIE-LCHlch(33.88, 56.58, 325.73°)
OKLaboklab(45% 0.1279 -0.0883)
OKLCHoklch(45% 0.155 325.4)
XYZxyz(13.6390, 7.9519, 22.2848)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D83 #32832D
analogous
#532D83 #7E2D83 #832D5D
triadic
#7E2D83 #837E2D #2D837E
tetradic
#7E2D83 #83532D #32832D #2D5D83
square
#7E2D83 #83532D #32832D #2D5D83
split-complementary
#7E2D83 #5D832D #2D8353
monochromatic
#260E28 #521D55 #7E2D83 #AA3DB1 #C362C9

Accessibility & contrast

On white

8.11
#7E2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7E2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D83
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D83#FFFFFF#000000##FFFFFF
##7E2D831.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4986
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#813954
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e2d83;
/* rgb */ color: rgb(126, 45, 131);
/* oklch */ color: oklch(45.0% 0.155 325.4);
Tailwind
colors: {
  custom: {
    50: '#a66ca7',
    500: '#7e2d83',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d83;
$custom-light: #a66ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d83",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 296.512,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45003,
    "c": 0.15547,
    "h": 325.4
  },
  "luminance": 0.07951
}

Semantic roles & 50–950 ramp

primary
#7E2D83
secondary
#61AF5C
accent
#D84F57
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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