#7C2383#7C2383

#7C2383 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.168 H 324.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7C2383
RGBrgb(124, 35, 131)
HSLhsl(296, 58%, 33%)
HSVhsv(296, 73%, 51%)
CMYKcmyk(5.3%, 73.3%, 0%, 48.6%)
CIE-LABlab(32.09, 50.38, -34.72)
CIE-LCHlch(32.09, 61.18, 325.43°)
OKLaboklab(43.65% 0.1369 -0.0966)
OKLCHoklch(43.65% 0.168 324.8)
XYZxyz(13.0096, 7.1267, 22.1587)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2383 #2A8323
analogous
#4C2383 #7C2383 #83235A
triadic
#7C2383 #837C23 #23837C
tetradic
#7C2383 #834C23 #2A8323 #235A83
square
#7C2383 #834C23 #2A8323 #235A83
split-complementary
#7C2383 #5A8323 #23834C
monochromatic
#210922 #4E1653 #7C2383 #AA30B3 #C750D0

Accessibility & contrast

On white

8.66
#7C2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7C2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2383
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2383#FFFFFF#000000##FFFFFF
##7C23831.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064586
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#7F3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2383;
/* rgb */ color: rgb(124, 35, 131);
/* oklch */ color: oklch(43.7% 0.168 324.8);
Tailwind
colors: {
  custom: {
    50: '#a567a7',
    500: '#7c2383',
    950: '#000000',
  },
}
SCSS
$custom: #7c2383;
$custom-light: #a567a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2383",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 295.625,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.1676,
    "h": 324.8
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#7C2383
secondary
#55B44E
accent
#E14752
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C2383

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

Preview Lab → · Contrast checker → · Palette generator →

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