#7D2E92#7D2E92

#7D2E92 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.168 H 318.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7D2E92
RGBrgb(125, 46, 146)
HSLhsl(287, 52%, 38%)
HSVhsv(287, 68%, 57%)
CMYKcmyk(14.4%, 68.5%, 0%, 42.7%)
CIE-LABlab(34.78, 49.02, -39.69)
CIE-LCHlch(34.78, 63.07, 321.01°)
OKLaboklab(45.91% 0.1255 -0.1112)
OKLCHoklch(45.91% 0.168 318.5)
XYZxyz(14.6220, 8.3899, 28.0378)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E92 #43922E
analogous
#4B2E92 #7D2E92 #922E75
triadic
#7D2E92 #927D2E #2E927D
tetradic
#7D2E92 #924B2E #43922E #2E7592
square
#7D2E92 #924B2E #43922E #2E7592
split-complementary
#7D2E92 #75922E #2E924B
monochromatic
#2D1135 #551F63 #7D2E92 #A53DC1 #BB6AD0

Accessibility & contrast

On white

7.84
#7D2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E92
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E92#FFFFFF#000000##FFFFFF
##7D2E921.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044D95
Deuteranopia (green-blind)
#335490
Tritanopia (blue-blind)
#7D405C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2e92;
/* rgb */ color: rgb(125, 46, 146);
/* oklch */ color: oklch(45.9% 0.168 318.5);
Tailwind
colors: {
  custom: {
    50: '#a66db2',
    500: '#7d2e92',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e92;
$custom-light: #a66db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e92",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 287.4,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45909,
    "c": 0.16767,
    "h": 318.5
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#7D2E92
secondary
#76B765
accent
#DC4C6A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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