#7C2088#7C2088

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

Color values

HEX#7C2088
RGBrgb(124, 32, 136)
HSLhsl(293, 62%, 33%)
HSVhsv(293, 76%, 53%)
CMYKcmyk(8.8%, 76.5%, 0%, 46.7%)
CIE-LABlab(32.03, 52.39, -37.94)
CIE-LCHlch(32.03, 64.69, 324.09°)
OKLaboklab(43.7% 0.1397 -0.106)
OKLCHoklch(43.7% 0.175 322.8)
XYZxyz(13.2722, 7.0965, 23.9585)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2088 #2C8820
analogous
#482088 #7C2088 #882060
triadic
#7C2088 #887C20 #20887C
tetradic
#7C2088 #884820 #2C8820 #206088
square
#7C2088 #884820 #2C8820 #206088
split-complementary
#7C2088 #608820 #208848
monochromatic
#220925 #4F1456 #7C2088 #A92CBA #C54DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2088#FFFFFF#000000##FFFFFF
##7C20881.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)
#00458B
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#7E3453
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2088;
/* rgb */ color: rgb(124, 32, 136);
/* oklch */ color: oklch(43.7% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#a566ab',
    500: '#7c2088',
    950: '#000000',
  },
}
SCSS
$custom: #7c2088;
$custom-light: #a566ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2088",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 293.077,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43703,
    "c": 0.17534,
    "h": 322.8
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#7C2088
secondary
#58B84C
accent
#E54356
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2088

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

Preview Lab → · Contrast checker → · Palette generator →

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