#7D427D#7D427D

#7D427D is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.4% C 0.115 H 327.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7D427D
RGBrgb(125, 66, 125)
HSLhsl(300, 31%, 37%)
HSVhsv(300, 47%, 49%)
CMYKcmyk(0%, 47.2%, 0%, 51%)
CIE-LABlab(37.37, 34.70, -22.68)
CIE-LCHlch(37.37, 41.45, 326.83°)
OKLaboklab(47.43% 0.0963 -0.0621)
OKLCHoklch(47.43% 0.115 327.2)
XYZxyz(14.1071, 9.7378, 20.5346)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D427D #427D42
analogous
#60427D #7D427D #7D4260
triadic
#7D427D #7D7D42 #427D7D
tetradic
#7D427D #7D6042 #427D42 #42607D
square
#7D427D #7D6042 #427D42 #42607D
split-complementary
#7D427D #607D42 #427D60
monochromatic
#2D182D #552D55 #7D427D #A557A5 #BB7EBB

Accessibility & contrast

On white

7.12
#7D427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7D427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D427D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D427D#FFFFFF#000000##FFFFFF
##7D427D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#804859
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d427d;
/* rgb */ color: rgb(125, 66, 125);
/* oklch */ color: oklch(47.4% 0.115 327.2);
Tailwind
colors: {
  custom: {
    50: '#a478a3',
    500: '#7d427d',
    950: '#000000',
  },
}
SCSS
$custom: #7d427d;
$custom-light: #a478a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d427d",
  "rgb": {
    "r": 125,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4743,
    "c": 0.1146,
    "h": 327.2
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#7D427D
secondary
#75A675
accent
#C76161
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #7D427D

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

Preview Lab → · Contrast checker → · Palette generator →

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