#7D2D93#7D2D93

#7D2D93 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.170 H 318.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7D2D93
RGBrgb(125, 45, 147)
HSLhsl(287, 53%, 38%)
HSVhsv(287, 69%, 58%)
CMYKcmyk(15%, 69.4%, 0%, 42.4%)
CIE-LABlab(34.69, 49.67, -40.45)
CIE-LCHlch(34.69, 64.05, 320.84°)
OKLaboklab(45.86% 0.1266 -0.1134)
OKLCHoklch(45.86% 0.17 318.2)
XYZxyz(14.6616, 8.3440, 28.4364)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D93 #43932D
analogous
#4A2D93 #7D2D93 #932D76
triadic
#7D2D93 #937D2D #2D937D
tetradic
#7D2D93 #934A2D #43932D #2D7693
square
#7D2D93 #934A2D #43932D #2D7693
split-complementary
#7D2D93 #76932D #2D934A
monochromatic
#2D1035 #551F64 #7D2D93 #A53BC2 #BB69D1

Accessibility & contrast

On white

7.87
#7D2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D93
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D93#FFFFFF#000000##FFFFFF
##7D2D931.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#325491
Tritanopia (blue-blind)
#7C405C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2d93;
/* rgb */ color: rgb(125, 45, 147);
/* oklch */ color: oklch(45.9% 0.170 318.2);
Tailwind
colors: {
  custom: {
    50: '#a66db3',
    500: '#7d2d93',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d93;
$custom-light: #a66db3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d93",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 287.059,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.16997,
    "h": 318.2
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#7D2D93
secondary
#76B864
accent
#DD4B6B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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