#7C2295#7C2295

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

Color values

HEX#7C2295
RGBrgb(124, 34, 149)
HSLhsl(287, 63%, 36%)
HSVhsv(287, 77%, 58%)
CMYKcmyk(16.8%, 77.2%, 0%, 41.6%)
CIE-LABlab(33.13, 54.19, -44.17)
CIE-LCHlch(33.13, 69.92, 320.82°)
OKLaboklab(44.77% 0.1365 -0.1243)
OKLCHoklch(44.77% 0.185 317.7)
XYZxyz(14.3082, 7.5997, 29.1411)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2295 #3B9522
analogous
#432295 #7C2295 #952274
triadic
#7C2295 #957C22 #22957C
tetradic
#7C2295 #954322 #3B9522 #227495
square
#7C2295 #954322 #3B9522 #227495
split-complementary
#7C2295 #749522 #229543
monochromatic
#290B31 #531763 #7C2295 #A52DC7 #BD58D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2295#FFFFFF#000000##FFFFFF
##7C22951.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)
#004898
Deuteranopia (green-blind)
#265192
Tritanopia (blue-blind)
#7B3B5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2295;
/* rgb */ color: rgb(124, 34, 149);
/* oklch */ color: oklch(44.8% 0.185 317.7);
Tailwind
colors: {
  custom: {
    50: '#a668b5',
    500: '#7c2295',
    950: '#000000',
  },
}
SCSS
$custom: #7c2295;
$custom-light: #a668b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2295",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 286.957,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.18457,
    "h": 317.7
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#7C2295
secondary
#6CBD56
accent
#E64266
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2295

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

Preview Lab → · Contrast checker → · Palette generator →

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