#7C2294#7C2294

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

Color values

HEX#7C2294
RGBrgb(124, 34, 148)
HSLhsl(287, 63%, 36%)
HSVhsv(287, 77%, 58%)
CMYKcmyk(16.2%, 77%, 0%, 42%)
CIE-LABlab(33.07, 54.00, -43.67)
CIE-LCHlch(33.07, 69.45, 321.04°)
OKLaboklab(44.7% 0.1366 -0.1228)
OKLCHoklch(44.7% 0.184 318)
XYZxyz(14.2288, 7.5679, 28.7225)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2294 #3A9422
analogous
#432294 #7C2294 #942273
triadic
#7C2294 #947C22 #22947C
tetradic
#7C2294 #944322 #3A9422 #227394
square
#7C2294 #944322 #3A9422 #227394
split-complementary
#7C2294 #739422 #229443
monochromatic
#290B30 #521762 #7C2294 #A62DC6 #BD58D9

Accessibility & contrast

On white

8.36
#7C2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2294
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2294#FFFFFF#000000##FFFFFF
##7C22941.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2294;
/* rgb */ color: rgb(124, 34, 148);
/* oklch */ color: oklch(44.7% 0.184 318.0);
Tailwind
colors: {
  custom: {
    50: '#a668b4',
    500: '#7c2294',
    950: '#000000',
  },
}
SCSS
$custom: #7c2294;
$custom-light: #a668b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2294",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 287.368,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.18368,
    "h": 318
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#7C2294
secondary
#6BBD55
accent
#E64265
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2294

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

Preview Lab → · Contrast checker → · Palette generator →

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