#7D2E9F#7D2E9F

#7D2E9F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.180 H 313.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7D2E9F
RGBrgb(125, 46, 159)
HSLhsl(282, 55%, 40%)
HSVhsv(282, 71%, 62%)
CMYKcmyk(21.4%, 71.1%, 0%, 37.6%)
CIE-LABlab(35.63, 51.74, -46.23)
CIE-LCHlch(35.63, 69.39, 318.22°)
OKLaboklab(46.79% 0.1246 -0.1303)
OKLCHoklch(46.79% 0.18 313.7)
XYZxyz(15.6914, 8.8177, 33.6696)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E9F #509F2E
analogous
#452E9F #7D2E9F #9F2E88
triadic
#7D2E9F #9F7D2E #2E9F7D
tetradic
#7D2E9F #9F452E #509F2E #2E889F
square
#7D2E9F #9F452E #509F2E #2E889F
split-complementary
#7D2E9F #889F2E #2E9F45
monochromatic
#321340 #582070 #7D2E9F #A042C8 #B871D6

Accessibility & contrast

On white

7.60
#7D2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7D2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E9F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E9F#FFFFFF#000000##FFFFFF
##7D2E9F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#26569C
Tritanopia (blue-blind)
#7A4663
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d2e9f;
/* rgb */ color: rgb(125, 46, 159);
/* oklch */ color: oklch(46.8% 0.180 313.7);
Tailwind
colors: {
  custom: {
    50: '#a66ebc',
    500: '#7d2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e9f;
$custom-light: #a66ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e9f",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 281.947,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46789,
    "c": 0.18031,
    "h": 313.7
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#7D2E9F
secondary
#84BE6B
accent
#DE4976
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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