#7D3288#7D3288

#7D3288 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.152 H 322.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7D3288
RGBrgb(125, 50, 136)
HSLhsl(292, 46%, 36%)
HSVhsv(292, 63%, 53%)
CMYKcmyk(8.1%, 63.2%, 0%, 46.7%)
CIE-LABlab(34.84, 45.17, -33.45)
CIE-LCHlch(34.84, 56.21, 323.49°)
OKLaboklab(45.76% 0.1206 -0.093)
OKLCHoklch(45.76% 0.152 322.4)
XYZxyz(14.0415, 8.4195, 24.1733)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3288 #3D8832
analogous
#523288 #7D3288 #883268
triadic
#7D3288 #887D32 #32887D
tetradic
#7D3288 #885232 #3D8832 #326888
square
#7D3288 #885232 #3D8832 #326888
split-complementary
#7D3288 #688832 #328852
monochromatic
#2B112F #54225B #7D3288 #A642B5 #BD6CC9

Accessibility & contrast

On white

7.82
#7D3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3288
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3288#FFFFFF#000000##FFFFFF
##7D32881.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8B
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#7F3F58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d3288;
/* rgb */ color: rgb(125, 50, 136);
/* oklch */ color: oklch(45.8% 0.152 322.4);
Tailwind
colors: {
  custom: {
    50: '#a56fab',
    500: '#7d3288',
    950: '#000000',
  },
}
SCSS
$custom: #7d3288;
$custom-light: #a56fab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3288",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 292.326,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.1523,
    "h": 322.4
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#7D3288
secondary
#6FB065
accent
#D65263
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D3288

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

Preview Lab → · Contrast checker → · Palette generator →

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