#7D4285#7D4285

#7D4285 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 47.8% C 0.123 H 322.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7D4285
RGBrgb(125, 66, 133)
HSLhsl(293, 34%, 39%)
HSVhsv(293, 50%, 52%)
CMYKcmyk(6%, 50.4%, 0%, 47.8%)
CIE-LABlab(37.75, 36.32, -27.01)
CIE-LCHlch(37.75, 45.26, 323.36°)
OKLaboklab(47.84% 0.0978 -0.0745)
OKLCHoklch(47.84% 0.123 322.7)
XYZxyz(14.6389, 9.9505, 23.3353)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4285 #4A8542
analogous
#5C4285 #7D4285 #85426C
triadic
#7D4285 #857D42 #42857D
tetradic
#7D4285 #855C42 #4A8542 #426C85
square
#7D4285 #855C42 #4A8542 #426C85
split-complementary
#7D4285 #6C8542 #42855C
monochromatic
#301933 #572E5C #7D4285 #A258AC #B981C0

Accessibility & contrast

On white

7.02
#7D4285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7D4285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D4285
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4285#FFFFFF#000000##FFFFFF
##7D42851.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395487
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#7F4A5D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d4285;
/* rgb */ color: rgb(125, 66, 133);
/* oklch */ color: oklch(47.8% 0.123 322.7);
Tailwind
colors: {
  custom: {
    50: '#a479a9',
    500: '#7d4285',
    950: '#000000',
  },
}
SCSS
$custom: #7d4285;
$custom-light: #a479a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4285",
  "rgb": {
    "r": 125,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 292.836,
    "s": 33.668,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.12292,
    "h": 322.7
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#7D4285
secondary
#7EAB78
accent
#CA5E6B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7D4285

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

Preview Lab → · Contrast checker → · Palette generator →

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