#7D2293#7D2293

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

Color values

HEX#7D2293
RGBrgb(125, 34, 147)
HSLhsl(288, 62%, 35%)
HSVhsv(288, 77%, 58%)
CMYKcmyk(15%, 76.9%, 0%, 42.4%)
CIE-LABlab(33.16, 54.01, -42.90)
CIE-LCHlch(33.16, 68.97, 321.54°)
OKLaboklab(44.77% 0.138 -0.1205)
OKLCHoklch(44.77% 0.183 318.9)
XYZxyz(14.2952, 7.6113, 28.3142)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2293 #389322
analogous
#452293 #7D2293 #932270
triadic
#7D2293 #937D22 #22937D
tetradic
#7D2293 #934522 #389322 #227093
square
#7D2293 #934522 #389322 #227093
split-complementary
#7D2293 #709322 #229345
monochromatic
#280B30 #531761 #7D2293 #A72DC5 #BF57D8

Accessibility & contrast

On white

8.33
#7D2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2293
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2293#FFFFFF#000000##FFFFFF
##7D22931.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#295190
Tritanopia (blue-blind)
#7D3A59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2293;
/* rgb */ color: rgb(125, 34, 147);
/* oklch */ color: oklch(44.8% 0.183 318.9);
Tailwind
colors: {
  custom: {
    50: '#a668b3',
    500: '#7d2293',
    950: '#000000',
  },
}
SCSS
$custom: #7d2293;
$custom-light: #a668b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2293",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 288.319,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44772,
    "c": 0.18319,
    "h": 318.9
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#7D2293
secondary
#69BC55
accent
#E54262
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2293

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

Preview Lab → · Contrast checker → · Palette generator →

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