#7D2F85#7D2F85

#7D2F85 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.2% C 0.154 H 323.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7D2F85
RGBrgb(125, 47, 133)
HSLhsl(294, 48%, 35%)
HSVhsv(294, 65%, 52%)
CMYKcmyk(6%, 64.7%, 0%, 47.8%)
CIE-LABlab(34.16, 45.98, -32.66)
CIE-LCHlch(34.16, 56.40, 324.61°)
OKLaboklab(45.21% 0.1243 -0.0907)
OKLCHoklch(45.21% 0.154 323.9)
XYZxyz(13.7072, 8.0872, 23.0248)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F85 #37852F
analogous
#522F85 #7D2F85 #852F62
triadic
#7D2F85 #857D2F #2F857D
tetradic
#7D2F85 #85522F #37852F #2F6285
square
#7D2F85 #85522F #37852F #2F6285
split-complementary
#7D2F85 #62852F #2F8552
monochromatic
#280F2B #531F58 #7D2F85 #A83FB2 #C066C9

Accessibility & contrast

On white

8.02
#7D2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F85
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F85#FFFFFF#000000##FFFFFF
##7D2F851.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A88
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#7F3C55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2f85;
/* rgb */ color: rgb(125, 47, 133);
/* oklch */ color: oklch(45.2% 0.154 323.9);
Tailwind
colors: {
  custom: {
    50: '#a56da9',
    500: '#7d2f85',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f85;
$custom-light: #a56da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f85",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 294.419,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45212,
    "c": 0.15389,
    "h": 323.9
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#7D2F85
secondary
#67B060
accent
#D7505D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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