#7C2883#7C2883

#7C2883 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.161 H 324.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7C2883
RGBrgb(124, 40, 131)
HSLhsl(295, 53%, 34%)
HSVhsv(295, 69%, 51%)
CMYKcmyk(5.3%, 69.5%, 0%, 48.6%)
CIE-LABlab(32.79, 48.40, -33.61)
CIE-LCHlch(32.79, 58.93, 325.23°)
OKLaboklab(44.15% 0.1315 -0.0934)
OKLCHoklch(44.15% 0.161 324.6)
XYZxyz(13.1674, 7.4422, 22.2113)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2883 #2F8328
analogous
#4E2883 #7C2883 #83285C
triadic
#7C2883 #837C28 #28837C
tetradic
#7C2883 #834E28 #2F8328 #285C83
square
#7C2883 #834E28 #2F8328 #285C83
split-complementary
#7C2883 #5C8328 #28834E
monochromatic
#230B25 #501A54 #7C2883 #A836B2 #C359CC

Accessibility & contrast

On white

8.44
#7C2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7C2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2883
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2883#FFFFFF#000000##FFFFFF
##7C28831.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134786
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#7F3652
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2883;
/* rgb */ color: rgb(124, 40, 131);
/* oklch */ color: oklch(44.2% 0.161 324.6);
Tailwind
colors: {
  custom: {
    50: '#a56aa7',
    500: '#7c2883',
    950: '#000000',
  },
}
SCSS
$custom: #7c2883;
$custom-light: #a56aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2883",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 295.385,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.16129,
    "h": 324.6
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#7C2883
secondary
#5CB155
accent
#DD4B56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7C2883

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

Preview Lab → · Contrast checker → · Palette generator →

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