#7D2183#7D2183

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

Color values

HEX#7D2183
RGBrgb(125, 33, 131)
HSLhsl(296, 60%, 32%)
HSVhsv(296, 75%, 51%)
CMYKcmyk(4.6%, 74.8%, 0%, 48.6%)
CIE-LABlab(32.00, 51.34, -34.85)
CIE-LCHlch(32.00, 62.05, 325.83°)
OKLaboklab(43.62% 0.1402 -0.097)
OKLCHoklch(43.62% 0.17 325.3)
XYZxyz(13.0977, 7.0872, 22.1464)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2183 #278321
analogous
#4C2183 #7D2183 #832158
triadic
#7D2183 #837D21 #21837D
tetradic
#7D2183 #834C21 #278321 #215883
square
#7D2183 #834C21 #278321 #215883
split-complementary
#7D2183 #588321 #21834C
monochromatic
#200821 #4E1552 #7D2183 #AC2DB4 #CA4CD2

Accessibility & contrast

On white

8.69
#7D2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2183
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2183#FFFFFF#000000##FFFFFF
##7D21831.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2183;
/* rgb */ color: rgb(125, 33, 131);
/* oklch */ color: oklch(43.6% 0.170 325.3);
Tailwind
colors: {
  custom: {
    50: '#a666a7',
    500: '#7d2183',
    950: '#000000',
  },
}
SCSS
$custom: #7d2183;
$custom-light: #a666a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2183",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 296.327,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.17043,
    "h": 325.3
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#7D2183
secondary
#51B54B
accent
#E3454F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D2183

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

Preview Lab → · Contrast checker → · Palette generator →

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