#7D2B85#7D2B85

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

Color values

HEX#7D2B85
RGBrgb(125, 43, 133)
HSLhsl(295, 51%, 35%)
HSVhsv(295, 68%, 52%)
CMYKcmyk(6%, 67.7%, 0%, 47.8%)
CIE-LABlab(33.52, 47.76, -33.68)
CIE-LCHlch(33.52, 58.44, 324.81°)
OKLaboklab(44.75% 0.1292 -0.0936)
OKLCHoklch(44.75% 0.16 324.1)
XYZxyz(13.5546, 7.7820, 22.9739)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B85 #33852B
analogous
#502B85 #7D2B85 #852B60
triadic
#7D2B85 #857D2B #2B857D
tetradic
#7D2B85 #85502B #33852B #2B6085
square
#7D2B85 #85502B #33852B #2B6085
split-complementary
#7D2B85 #60852B #2B8550
monochromatic
#260D29 #521C57 #7D2B85 #A83AB3 #C25FCB

Accessibility & contrast

On white

8.22
#7D2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2B85
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B85#FFFFFF#000000##FFFFFF
##7D2B851.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174988
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#7F3954
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2b85;
/* rgb */ color: rgb(125, 43, 133);
/* oklch */ color: oklch(44.8% 0.160 324.1);
Tailwind
colors: {
  custom: {
    50: '#a56ba9',
    500: '#7d2b85',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b85;
$custom-light: #a56ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b85",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 294.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4475,
    "c": 0.15956,
    "h": 324.1
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#7D2B85
secondary
#62B15B
accent
#DB4D5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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