#7C2B83#7C2B83

#7C2B83 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.157 H 324.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7C2B83
RGBrgb(124, 43, 131)
HSLhsl(295, 51%, 34%)
HSVhsv(295, 67%, 51%)
CMYKcmyk(5.3%, 67.2%, 0%, 48.6%)
CIE-LABlab(33.25, 47.13, -32.89)
CIE-LCHlch(33.25, 57.47, 325.09°)
OKLaboklab(44.48% 0.128 -0.0913)
OKLCHoklch(44.48% 0.157 324.5)
XYZxyz(13.2725, 7.6523, 22.2463)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B83 #32832B
analogous
#502B83 #7C2B83 #832B5E
triadic
#7C2B83 #837C2B #2B837C
tetradic
#7C2B83 #83502B #32832B #2B5E83
square
#7C2B83 #83502B #32832B #2B5E83
split-complementary
#7C2B83 #5E832B #2B8350
monochromatic
#250D27 #501C55 #7C2B83 #A83AB1 #C25ECA

Accessibility & contrast

On white

8.30
#7C2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7C2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2B83
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2B83#FFFFFF#000000##FFFFFF
##7C2B831.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194886
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#7F3853
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2b83;
/* rgb */ color: rgb(124, 43, 131);
/* oklch */ color: oklch(44.5% 0.157 324.5);
Tailwind
colors: {
  custom: {
    50: '#a56ba7',
    500: '#7c2b83',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b83;
$custom-light: #a56ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b83",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 295.227,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.15721,
    "h": 324.5
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#7C2B83
secondary
#61B05A
accent
#DA4E59
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7C2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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