#7C2085#7C2085

#7C2085 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.173 H 324.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7C2085
RGBrgb(124, 32, 133)
HSLhsl(295, 61%, 32%)
HSVhsv(295, 76%, 52%)
CMYKcmyk(6.8%, 75.9%, 0%, 47.8%)
CIE-LABlab(31.84, 51.84, -36.38)
CIE-LCHlch(31.84, 63.33, 324.94°)
OKLaboklab(43.51% 0.1399 -0.1014)
OKLCHoklch(43.51% 0.173 324)
XYZxyz(13.0620, 7.0124, 22.8513)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2085 #298520
analogous
#492085 #7C2085 #85205C
triadic
#7C2085 #857C20 #20857C
tetradic
#7C2085 #854920 #298520 #205C85
square
#7C2085 #854920 #298520 #205C85
split-complementary
#7C2085 #5C8520 #208549
monochromatic
#200822 #4E1454 #7C2085 #AA2CB6 #C84CD4

Accessibility & contrast

On white

8.74
#7C2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2085
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2085#FFFFFF#000000##FFFFFF
##7C20851.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#7E3251
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2085;
/* rgb */ color: rgb(124, 32, 133);
/* oklch */ color: oklch(43.5% 0.173 324.0);
Tailwind
colors: {
  custom: {
    50: '#a566a9',
    500: '#7c2085',
    950: '#000000',
  },
}
SCSS
$custom: #7c2085;
$custom-light: #a566a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2085",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 294.653,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43506,
    "c": 0.17278,
    "h": 324
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#7C2085
secondary
#54B74A
accent
#E44352
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2085

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

Preview Lab → · Contrast checker → · Palette generator →

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