#7C2296#7C2296

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

Color values

HEX#7C2296
RGBrgb(124, 34, 150)
HSLhsl(287, 63%, 36%)
HSVhsv(287, 77%, 59%)
CMYKcmyk(17.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(33.20, 54.39, -44.67)
CIE-LCHlch(33.20, 70.39, 320.60°)
OKLaboklab(44.84% 0.1363 -0.1257)
OKLCHoklch(44.84% 0.185 317.3)
XYZxyz(14.3884, 7.6318, 29.5634)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2296 #3C9622
analogous
#422296 #7C2296 #962276
triadic
#7C2296 #967C22 #22967C
tetradic
#7C2296 #964222 #3C9622 #227696
square
#7C2296 #964222 #3C9622 #227696
split-complementary
#7C2296 #769622 #229642
monochromatic
#2A0B32 #531764 #7C2296 #A52DC8 #BD59D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2296#FFFFFF#000000##FFFFFF
##7C22961.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)
#004999
Deuteranopia (green-blind)
#255193
Tritanopia (blue-blind)
#7B3B5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2296;
/* rgb */ color: rgb(124, 34, 150);
/* oklch */ color: oklch(44.8% 0.185 317.3);
Tailwind
colors: {
  custom: {
    50: '#a668b5',
    500: '#7c2296',
    950: '#000000',
  },
}
SCSS
$custom: #7c2296;
$custom-light: #a668b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2296",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 286.552,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.18546,
    "h": 317.3
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#7C2296
secondary
#6DBE56
accent
#E64267
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2296

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

Preview Lab → · Contrast checker → · Palette generator →

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