#7D2B86#7D2B86

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

Color values

HEX#7D2B86
RGBrgb(125, 43, 134)
HSLhsl(294, 51%, 35%)
HSVhsv(294, 68%, 53%)
CMYKcmyk(6.7%, 67.9%, 0%, 47.5%)
CIE-LABlab(33.58, 47.95, -34.21)
CIE-LCHlch(33.58, 58.90, 324.50°)
OKLaboklab(44.81% 0.1292 -0.0952)
OKLCHoklch(44.81% 0.16 323.6)
XYZxyz(13.6240, 7.8097, 23.3395)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B86 #34862B
analogous
#502B86 #7D2B86 #862B62
triadic
#7D2B86 #867D2B #2B867D
tetradic
#7D2B86 #86502B #34862B #2B6286
square
#7D2B86 #86502B #34862B #2B6286
split-complementary
#7D2B86 #62862B #2B8650
monochromatic
#270D29 #521C58 #7D2B86 #A83AB4 #C160CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2B86#FFFFFF#000000##FFFFFF
##7D2B861.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)
#164989
Deuteranopia (green-blind)
#3A5284
Tritanopia (blue-blind)
#7F3955
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2b86;
/* rgb */ color: rgb(125, 43, 134);
/* oklch */ color: oklch(44.8% 0.160 323.6);
Tailwind
colors: {
  custom: {
    50: '#a66baa',
    500: '#7d2b86',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b86;
$custom-light: #a66baa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b86",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 294.066,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.16048,
    "h": 323.6
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#7D2B86
secondary
#64B25B
accent
#DB4D5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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