#7D2295#7D2295

#7D2295 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.185 H 318.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7D2295
RGBrgb(125, 34, 149)
HSLhsl(287, 63%, 36%)
HSVhsv(287, 77%, 58%)
CMYKcmyk(16.1%, 77.2%, 0%, 41.6%)
CIE-LABlab(33.30, 54.40, -43.91)
CIE-LCHlch(33.30, 69.91, 321.09°)
OKLaboklab(44.91% 0.1377 -0.1234)
OKLCHoklch(44.91% 0.185 318.1)
XYZxyz(14.4535, 7.6746, 29.1480)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2295 #3A9522
analogous
#432295 #7D2295 #952273
triadic
#7D2295 #957D22 #22957D
tetradic
#7D2295 #954322 #3A9522 #227395
square
#7D2295 #954322 #3A9522 #227395
split-complementary
#7D2295 #739522 #229543
monochromatic
#290B31 #531763 #7D2295 #A72DC7 #BE58D9

Accessibility & contrast

On white

8.28
#7D2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2295
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2295#FFFFFF#000000##FFFFFF
##7D22951.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#7C3B5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2295;
/* rgb */ color: rgb(125, 34, 149);
/* oklch */ color: oklch(44.9% 0.185 318.1);
Tailwind
colors: {
  custom: {
    50: '#a668b5',
    500: '#7d2295',
    950: '#000000',
  },
}
SCSS
$custom: #7d2295;
$custom-light: #a668b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2295",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 287.478,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.18497,
    "h": 318.1
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#7D2295
secondary
#6BBD56
accent
#E64264
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2295

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

Preview Lab → · Contrast checker → · Palette generator →

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