#7D2893#7D2893

#7D2893 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.176 H 318.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7D2893
RGBrgb(125, 40, 147)
HSLhsl(288, 57%, 37%)
HSVhsv(288, 73%, 58%)
CMYKcmyk(15%, 72.8%, 0%, 42.4%)
CIE-LABlab(33.95, 51.75, -41.63)
CIE-LCHlch(33.95, 66.41, 321.19°)
OKLaboklab(45.34% 0.1321 -0.1168)
OKLCHoklch(45.34% 0.176 318.5)
XYZxyz(14.4820, 7.9848, 28.3765)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2893 #3E9328
analogous
#482893 #7D2893 #932874
triadic
#7D2893 #937D28 #28937D
tetradic
#7D2893 #934828 #3E9328 #287493
square
#7D2893 #934828 #3E9328 #287493
split-complementary
#7D2893 #749328 #289348
monochromatic
#2B0E33 #541B63 #7D2893 #A635C3 #BC61D4

Accessibility & contrast

On white

8.09
#7D2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2893
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2893#FFFFFF#000000##FFFFFF
##7D28931.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#2E5391
Tritanopia (blue-blind)
#7D3D5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2893;
/* rgb */ color: rgb(125, 40, 147);
/* oklch */ color: oklch(45.3% 0.176 318.5);
Tailwind
colors: {
  custom: {
    50: '#a66ab3',
    500: '#7d2893',
    950: '#000000',
  },
}
SCSS
$custom: #7d2893;
$custom-light: #a66ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2893",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 287.664,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.17632,
    "h": 318.5
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#7D2893
secondary
#70BA5D
accent
#E04767
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2893

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

Preview Lab → · Contrast checker → · Palette generator →

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