#7D2F90#7D2F90

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

Color values

HEX#7D2F90
RGBrgb(125, 47, 144)
HSLhsl(288, 51%, 37%)
HSVhsv(288, 67%, 56%)
CMYKcmyk(13.2%, 67.4%, 0%, 43.5%)
CIE-LABlab(34.82, 48.17, -38.40)
CIE-LCHlch(34.82, 61.61, 321.44°)
OKLaboklab(45.9% 0.1244 -0.1074)
OKLCHoklch(45.9% 0.164 319.2)
XYZxyz(14.5073, 8.4073, 27.2387)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F90 #42902F
analogous
#4C2F90 #7D2F90 #902F73
triadic
#7D2F90 #907D2F #2F907D
tetradic
#7D2F90 #904C2F #42902F #2F7390
square
#7D2F90 #904C2F #42902F #2F7390
split-complementary
#7D2F90 #73902F #2F904C
monochromatic
#2D1134 #552062 #7D2F90 #A53EBE #BB6BCF

Accessibility & contrast

On white

7.83
#7D2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2F90
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F90#FFFFFF#000000##FFFFFF
##7D2F901.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D93
Deuteranopia (green-blind)
#35558E
Tritanopia (blue-blind)
#7D405B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2f90;
/* rgb */ color: rgb(125, 47, 144);
/* oklch */ color: oklch(45.9% 0.164 319.2);
Tailwind
colors: {
  custom: {
    50: '#a66eb1',
    500: '#7d2f90',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f90;
$custom-light: #a66eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f90",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 288.247,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.16438,
    "h": 319.2
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#7D2F90
secondary
#75B665
accent
#DA4E69
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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