#7D2294#7D2294

#7D2294 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 318.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7D2294
RGBrgb(125, 34, 148)
HSLhsl(288, 63%, 36%)
HSVhsv(288, 77%, 58%)
CMYKcmyk(15.5%, 77%, 0%, 42%)
CIE-LABlab(33.23, 54.20, -43.40)
CIE-LCHlch(33.23, 69.44, 321.31°)
OKLaboklab(44.84% 0.1379 -0.122)
OKLCHoklch(44.84% 0.184 318.5)
XYZxyz(14.3740, 7.6428, 28.7293)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2294 #399422
analogous
#442294 #7D2294 #942272
triadic
#7D2294 #947D22 #22947D
tetradic
#7D2294 #944422 #399422 #227294
square
#7D2294 #944422 #399422 #227294
split-complementary
#7D2294 #729422 #229444
monochromatic
#290B30 #531762 #7D2294 #A72DC6 #BF58D9

Accessibility & contrast

On white

8.31
#7D2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2294
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2294#FFFFFF#000000##FFFFFF
##7D22941.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#285191
Tritanopia (blue-blind)
#7C3A5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2294;
/* rgb */ color: rgb(125, 34, 148);
/* oklch */ color: oklch(44.8% 0.184 318.5);
Tailwind
colors: {
  custom: {
    50: '#a668b4',
    500: '#7d2294',
    950: '#000000',
  },
}
SCSS
$custom: #7d2294;
$custom-light: #a668b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2294",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 287.895,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.18408,
    "h": 318.5
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#7D2294
secondary
#6ABD55
accent
#E64263
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2294

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

Preview Lab → · Contrast checker → · Palette generator →

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