#7C2D83#7C2D83

#7C2D83 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.154 H 324.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7C2D83
RGBrgb(124, 45, 131)
HSLhsl(295, 49%, 35%)
HSVhsv(295, 66%, 51%)
CMYKcmyk(5.3%, 65.6%, 0%, 48.6%)
CIE-LABlab(33.57, 46.24, -32.38)
CIE-LCHlch(33.57, 56.45, 325.00°)
OKLaboklab(44.71% 0.1255 -0.0899)
OKLCHoklch(44.71% 0.154 324.4)
XYZxyz(13.3470, 7.8013, 22.2711)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D83 #34832D
analogous
#512D83 #7C2D83 #832D5F
triadic
#7C2D83 #837C2D #2D837C
tetradic
#7C2D83 #83512D #34832D #2D5F83
square
#7C2D83 #83512D #34832D #2D5F83
split-complementary
#7C2D83 #5F832D #2D8351
monochromatic
#260E28 #511D55 #7C2D83 #A73DB1 #C062C9

Accessibility & contrast

On white

8.20
#7C2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7C2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D83
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D83#FFFFFF#000000##FFFFFF
##7C2D831.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#3C5281
Tritanopia (blue-blind)
#7F3A54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c2d83;
/* rgb */ color: rgb(124, 45, 131);
/* oklch */ color: oklch(44.7% 0.154 324.4);
Tailwind
colors: {
  custom: {
    50: '#a56ca7',
    500: '#7c2d83',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d83;
$custom-light: #a56ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d83",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 295.116,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.15439,
    "h": 324.4
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#7C2D83
secondary
#63AF5C
accent
#D84F5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7C2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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