#7C2087#7C2087

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

Color values

HEX#7C2087
RGBrgb(124, 32, 135)
HSLhsl(294, 62%, 33%)
HSVhsv(294, 76%, 53%)
CMYKcmyk(8.1%, 76.3%, 0%, 47.1%)
CIE-LABlab(31.96, 52.21, -37.42)
CIE-LCHlch(31.96, 64.23, 324.37°)
OKLaboklab(43.64% 0.1397 -0.1045)
OKLCHoklch(43.64% 0.174 323.2)
XYZxyz(13.2015, 7.0682, 23.5859)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2087 #2B8720
analogous
#482087 #7C2087 #87205F
triadic
#7C2087 #877C20 #20877C
tetradic
#7C2087 #874820 #2B8720 #205F87
square
#7C2087 #874820 #2B8720 #205F87
split-complementary
#7C2087 #5F8720 #208748
monochromatic
#210924 #4F1456 #7C2087 #A92CB8 #C64DD5

Accessibility & contrast

On white

8.70
#7C2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2087
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2087#FFFFFF#000000##FFFFFF
##7C20871.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#7E3352
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2087;
/* rgb */ color: rgb(124, 32, 135);
/* oklch */ color: oklch(43.6% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#a566aa',
    500: '#7c2087',
    950: '#000000',
  },
}
SCSS
$custom: #7c2087;
$custom-light: #a566aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2087",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 293.592,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.17449,
    "h": 323.2
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#7C2087
secondary
#57B84B
accent
#E54354
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2087

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

Preview Lab → · Contrast checker → · Palette generator →

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