#7D2B95#7D2B95

#7D2B95 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.174 H 317.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7D2B95
RGBrgb(125, 43, 149)
HSLhsl(286, 55%, 38%)
HSVhsv(286, 71%, 58%)
CMYKcmyk(16.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(34.52, 50.93, -41.95)
CIE-LCHlch(34.52, 65.98, 320.52°)
OKLaboklab(45.78% 0.1287 -0.1178)
OKLCHoklch(45.78% 0.174 317.5)
XYZxyz(14.7454, 8.2583, 29.2452)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B95 #43952B
analogous
#482B95 #7D2B95 #952B78
triadic
#7D2B95 #957D2B #2B957D
tetradic
#7D2B95 #95482B #43952B #2B7895
square
#7D2B95 #95482B #43952B #2B7895
split-complementary
#7D2B95 #78952B #2B9548
monochromatic
#2D1036 #551D66 #7D2B95 #A539C4 #BB67D3

Accessibility & contrast

On white

7.92
#7D2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B95
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B95#FFFFFF#000000##FFFFFF
##7D2B951.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#7C405D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2b95;
/* rgb */ color: rgb(125, 43, 149);
/* oklch */ color: oklch(45.8% 0.174 317.5);
Tailwind
colors: {
  custom: {
    50: '#a66cb5',
    500: '#7d2b95',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b95;
$custom-light: #a66cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b95",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 286.415,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.17447,
    "h": 317.5
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#7D2B95
secondary
#76BA62
accent
#DF496B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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