#7D2F93#7D2F93

#7D2F93 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 318.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7D2F93
RGBrgb(125, 47, 147)
HSLhsl(287, 52%, 38%)
HSVhsv(287, 68%, 58%)
CMYKcmyk(15%, 68%, 0%, 42.4%)
CIE-LABlab(35.00, 48.79, -39.94)
CIE-LCHlch(35.00, 63.05, 320.69°)
OKLaboklab(46.09% 0.1243 -0.1119)
OKLCHoklch(46.09% 0.167 318)
XYZxyz(14.7397, 8.5002, 28.4624)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F93 #45932F
analogous
#4B2F93 #7D2F93 #932F77
triadic
#7D2F93 #937D2F #2F937D
tetradic
#7D2F93 #934B2F #45932F #2F7793
square
#7D2F93 #934B2F #45932F #2F7793
split-complementary
#7D2F93 #77932F #2F934B
monochromatic
#2E1136 #562065 #7D2F93 #A43EC1 #BA6CD0

Accessibility & contrast

On white

7.78
#7D2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F93
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F93#FFFFFF#000000##FFFFFF
##7D2F931.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2f93;
/* rgb */ color: rgb(125, 47, 147);
/* oklch */ color: oklch(46.1% 0.167 318.0);
Tailwind
colors: {
  custom: {
    50: '#a66eb3',
    500: '#7d2f93',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f93;
$custom-light: #a66eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f93",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 286.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.16728,
    "h": 318
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#7D2F93
secondary
#78B766
accent
#DB4D6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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