#7C2E85#7C2E85

#7C2E85 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.155 H 323.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7C2E85
RGBrgb(124, 46, 133)
HSLhsl(294, 49%, 35%)
HSVhsv(294, 65%, 52%)
CMYKcmyk(6.8%, 65.4%, 0%, 47.8%)
CIE-LABlab(33.84, 46.18, -33.18)
CIE-LCHlch(33.84, 56.86, 324.30°)
OKLaboklab(44.95% 0.1243 -0.0922)
OKLCHoklch(44.95% 0.155 323.4)
XYZxyz(13.5224, 7.9333, 23.0048)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E85 #37852E
analogous
#502E85 #7C2E85 #852E62
triadic
#7C2E85 #857C2E #2E857C
tetradic
#7C2E85 #85502E #37852E #2E6285
square
#7C2E85 #85502E #37852E #2E6285
split-complementary
#7C2E85 #62852E #2E8550
monochromatic
#270F2A #521E58 #7C2E85 #A63EB2 #BF64C9

Accessibility & contrast

On white

8.12
#7C2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7C2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E85
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E85#FFFFFF#000000##FFFFFF
##7C2E851.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A88
Deuteranopia (green-blind)
#3B5383
Tritanopia (blue-blind)
#7E3B55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c2e85;
/* rgb */ color: rgb(124, 46, 133);
/* oklch */ color: oklch(44.9% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#a56da9',
    500: '#7c2e85',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e85;
$custom-light: #a56da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e85",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 293.793,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44949,
    "c": 0.15481,
    "h": 323.4
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#7C2E85
secondary
#67B05F
accent
#D8505E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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