#7D2E93#7D2E93

#7D2E93 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.169 H 318.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7D2E93
RGBrgb(125, 46, 147)
HSLhsl(287, 52%, 38%)
HSVhsv(287, 69%, 58%)
CMYKcmyk(15%, 68.7%, 0%, 42.4%)
CIE-LABlab(34.85, 49.23, -40.20)
CIE-LCHlch(34.85, 63.55, 320.77°)
OKLaboklab(45.98% 0.1255 -0.1127)
OKLCHoklch(45.98% 0.169 318.1)
XYZxyz(14.7002, 8.4212, 28.4492)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E93 #44932E
analogous
#4B2E93 #7D2E93 #932E76
triadic
#7D2E93 #937D2E #2E937D
tetradic
#7D2E93 #934B2E #44932E #2E7693
square
#7D2E93 #934B2E #44932E #2E7693
split-complementary
#7D2E93 #76932E #2E934B
monochromatic
#2E1136 #551F64 #7D2E93 #A53DC2 #BA6BD1

Accessibility & contrast

On white

7.82
#7D2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2E93
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E93#FFFFFF#000000##FFFFFF
##7D2E931.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014D96
Deuteranopia (green-blind)
#325491
Tritanopia (blue-blind)
#7C415D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2e93;
/* rgb */ color: rgb(125, 46, 147);
/* oklch */ color: oklch(46.0% 0.169 318.1);
Tailwind
colors: {
  custom: {
    50: '#a66db3',
    500: '#7d2e93',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e93;
$custom-light: #a66db3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e93",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 286.931,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45975,
    "c": 0.16864,
    "h": 318.1
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#7D2E93
secondary
#77B865
accent
#DC4C6B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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