#7D2283#7D2283

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

Color values

HEX#7D2283
RGBrgb(125, 34, 131)
HSLhsl(296, 59%, 32%)
HSVhsv(296, 74%, 51%)
CMYKcmyk(4.6%, 74%, 0%, 48.6%)
CIE-LABlab(32.13, 50.98, -34.65)
CIE-LCHlch(32.13, 61.64, 325.80°)
OKLaboklab(43.71% 0.1392 -0.0964)
OKLCHoklch(43.71% 0.169 325.3)
XYZxyz(13.1259, 7.1436, 22.1558)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2283 #288322
analogous
#4D2283 #7D2283 #832258
triadic
#7D2283 #837D22 #22837D
tetradic
#7D2283 #834D22 #288322 #225883
square
#7D2283 #834D22 #288322 #225883
split-complementary
#7D2283 #588322 #22834D
monochromatic
#200922 #4F1552 #7D2283 #AB2FB4 #C94ED1

Accessibility & contrast

On white

8.65
#7D2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2283
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2283#FFFFFF#000000##FFFFFF
##7D22831.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054486
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#803250
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2283;
/* rgb */ color: rgb(125, 34, 131);
/* oklch */ color: oklch(43.7% 0.169 325.3);
Tailwind
colors: {
  custom: {
    50: '#a667a7',
    500: '#7d2283',
    950: '#000000',
  },
}
SCSS
$custom: #7d2283;
$custom-light: #a667a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2283",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 296.289,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43711,
    "c": 0.16927,
    "h": 325.3
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#7D2283
secondary
#53B44C
accent
#E2464F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D2283

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

Preview Lab → · Contrast checker → · Palette generator →

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