#7C2284#7C2284

#7C2284 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.170 H 324.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7C2284
RGBrgb(124, 34, 132)
HSLhsl(295, 59%, 33%)
HSVhsv(295, 74%, 52%)
CMYKcmyk(6.1%, 74.2%, 0%, 48.2%)
CIE-LABlab(32.02, 50.94, -35.45)
CIE-LCHlch(32.02, 62.06, 325.16°)
OKLaboklab(43.62% 0.1379 -0.0988)
OKLCHoklch(43.62% 0.17 324.4)
XYZxyz(13.0487, 7.0959, 22.5077)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2284 #2A8422
analogous
#4B2284 #7C2284 #84225B
triadic
#7C2284 #847C22 #22847C
tetradic
#7C2284 #844B22 #2A8422 #225B84
square
#7C2284 #844B22 #2A8422 #225B84
split-complementary
#7C2284 #5B8422 #22844B
monochromatic
#210923 #4E1553 #7C2284 #AA2FB5 #C74FD2

Accessibility & contrast

On white

8.68
#7C2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7C2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2284
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2284#FFFFFF#000000##FFFFFF
##7C22841.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014487
Deuteranopia (green-blind)
#354F82
Tritanopia (blue-blind)
#7F3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2284;
/* rgb */ color: rgb(124, 34, 132);
/* oklch */ color: oklch(43.6% 0.170 324.4);
Tailwind
colors: {
  custom: {
    50: '#a567a8',
    500: '#7c2284',
    950: '#000000',
  },
}
SCSS
$custom: #7c2284;
$custom-light: #a567a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2284",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 295.102,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.16964,
    "h": 324.4
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#7C2284
secondary
#55B54D
accent
#E24652
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2284

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

Preview Lab → · Contrast checker → · Palette generator →

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