#7D2B93#7D2B93

#7D2B93 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.173 H 318.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7D2B93
RGBrgb(125, 43, 147)
HSLhsl(287, 55%, 37%)
HSVhsv(287, 71%, 58%)
CMYKcmyk(15%, 70.7%, 0%, 42.4%)
CIE-LABlab(34.39, 50.52, -40.93)
CIE-LCHlch(34.39, 65.02, 320.99°)
OKLaboklab(45.65% 0.1289 -0.1148)
OKLCHoklch(45.65% 0.173 318.3)
XYZxyz(14.5871, 8.1950, 28.4115)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B93 #41932B
analogous
#492B93 #7D2B93 #932B75
triadic
#7D2B93 #937D2B #2B937D
tetradic
#7D2B93 #93492B #41932B #2B7593
square
#7D2B93 #93492B #41932B #2B7593
split-complementary
#7D2B93 #75932B #2B9349
monochromatic
#2C0F34 #551D64 #7D2B93 #A539C2 #BB66D2

Accessibility & contrast

On white

7.96
#7D2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D2B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B93
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B93#FFFFFF#000000##FFFFFF
##7D2B931.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#305391
Tritanopia (blue-blind)
#7D3F5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2b93;
/* rgb */ color: rgb(125, 43, 147);
/* oklch */ color: oklch(45.6% 0.173 318.3);
Tailwind
colors: {
  custom: {
    50: '#a66cb3',
    500: '#7d2b93',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b93;
$custom-light: #a66cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b93",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 287.308,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45645,
    "c": 0.17258,
    "h": 318.3
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#7D2B93
secondary
#74B961
accent
#DE4A69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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