#7C2083#7C2083

#7C2083 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.171 H 324.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7C2083
RGBrgb(124, 32, 131)
HSLhsl(296, 61%, 32%)
HSVhsv(296, 76%, 51%)
CMYKcmyk(5.3%, 75.6%, 0%, 48.6%)
CIE-LABlab(31.71, 51.47, -35.33)
CIE-LCHlch(31.71, 62.43, 325.53°)
OKLaboklab(43.38% 0.14 -0.0984)
OKLCHoklch(43.38% 0.171 324.9)
XYZxyz(12.9251, 6.9576, 22.1305)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2083 #278320
analogous
#4B2083 #7C2083 #832058
triadic
#7C2083 #837C20 #20837C
tetradic
#7C2083 #834B20 #278320 #205883
square
#7C2083 #834B20 #278320 #205883
split-complementary
#7C2083 #588320 #20834B
monochromatic
#1F0821 #4D1452 #7C2083 #AB2CB4 #C94AD3

Accessibility & contrast

On white

8.78
#7C2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7C2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2083
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2083#FFFFFF#000000##FFFFFF
##7C20831.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#7F3150
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2083;
/* rgb */ color: rgb(124, 32, 131);
/* oklch */ color: oklch(43.4% 0.171 324.9);
Tailwind
colors: {
  custom: {
    50: '#a566a7',
    500: '#7c2083',
    950: '#000000',
  },
}
SCSS
$custom: #7c2083;
$custom-light: #a566a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2083",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 295.758,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.17107,
    "h": 324.9
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#7C2083
secondary
#51B649
accent
#E4444F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C2083

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

Preview Lab → · Contrast checker → · Palette generator →

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