#7C2283#7C2283

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

Color values

HEX#7C2283
RGBrgb(124, 34, 131)
HSLhsl(296, 59%, 32%)
HSVhsv(296, 74%, 51%)
CMYKcmyk(5.3%, 74%, 0%, 48.6%)
CIE-LABlab(31.96, 50.75, -34.93)
CIE-LCHlch(31.96, 61.61, 325.46°)
OKLaboklab(43.56% 0.138 -0.0972)
OKLCHoklch(43.56% 0.169 324.8)
XYZxyz(12.9806, 7.0687, 22.1490)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2283 #298322
analogous
#4B2283 #7C2283 #83225A
triadic
#7C2283 #837C22 #22837C
tetradic
#7C2283 #834B22 #298322 #225A83
square
#7C2283 #834B22 #298322 #225A83
split-complementary
#7C2283 #5A8322 #22834B
monochromatic
#200922 #4E1552 #7C2283 #AA2FB4 #C84ED1

Accessibility & contrast

On white

8.70
#7C2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7C2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2283
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2283#FFFFFF#000000##FFFFFF
##7C22831.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034486
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#7F3350
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2283;
/* rgb */ color: rgb(124, 34, 131);
/* oklch */ color: oklch(43.6% 0.169 324.8);
Tailwind
colors: {
  custom: {
    50: '#a567a7',
    500: '#7c2283',
    950: '#000000',
  },
}
SCSS
$custom: #7c2283;
$custom-light: #a567a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2283",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 295.67,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.16878,
    "h": 324.8
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#7C2283
secondary
#54B44C
accent
#E24651
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C2283

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

Preview Lab → · Contrast checker → · Palette generator →

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