#7C2086#7C2086

#7C2086 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.174 H 323.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7C2086
RGBrgb(124, 32, 134)
HSLhsl(294, 61%, 33%)
HSVhsv(294, 76%, 53%)
CMYKcmyk(7.5%, 76.1%, 0%, 47.5%)
CIE-LABlab(31.90, 52.02, -36.90)
CIE-LCHlch(31.90, 63.78, 324.65°)
OKLaboklab(43.57% 0.1398 -0.103)
OKLCHoklch(43.57% 0.174 323.6)
XYZxyz(13.1314, 7.0401, 23.2169)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2086 #2A8620
analogous
#492086 #7C2086 #86205D
triadic
#7C2086 #867C20 #20867C
tetradic
#7C2086 #864920 #2A8620 #205D86
square
#7C2086 #864920 #2A8620 #205D86
split-complementary
#7C2086 #5D8620 #208649
monochromatic
#210823 #4E1455 #7C2086 #AA2CB7 #C74CD4

Accessibility & contrast

On white

8.72
#7C2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7C2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2086
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2086#FFFFFF#000000##FFFFFF
##7C20861.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#7E3352
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2086;
/* rgb */ color: rgb(124, 32, 134);
/* oklch */ color: oklch(43.6% 0.174 323.6);
Tailwind
colors: {
  custom: {
    50: '#a566aa',
    500: '#7c2086',
    950: '#000000',
  },
}
SCSS
$custom: #7c2086;
$custom-light: #a566aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2086",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 294.118,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43571,
    "c": 0.17363,
    "h": 323.6
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#7C2086
secondary
#55B74B
accent
#E54353
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2086

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

Preview Lab → · Contrast checker → · Palette generator →

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