#7D427A#7D427A

#7D427A is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.3% C 0.112 H 329.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7D427A
RGBrgb(125, 66, 122)
HSLhsl(303, 31%, 37%)
HSVhsv(303, 47%, 49%)
CMYKcmyk(0%, 47.2%, 2.4%, 51%)
CIE-LABlab(37.23, 34.11, -21.04)
CIE-LCHlch(37.23, 40.07, 328.33°)
OKLaboklab(47.28% 0.0957 -0.0574)
OKLCHoklch(47.28% 0.112 329)
XYZxyz(13.9183, 9.6623, 19.5405)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D427A #427D45
analogous
#63427D #7D427A #7D425C
triadic
#7D427A #7A7D42 #427A7D
tetradic
#7D427A #7D6342 #427D45 #425C7D
square
#7D427A #7D6342 #427D45 #425C7D
split-complementary
#7D427A #5C7D42 #427D63
monochromatic
#2D182C #552D53 #7D427A #A557A1 #BB7EB8

Accessibility & contrast

On white

7.16
#7D427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7D427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D427A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D427A#FFFFFF#000000##FFFFFF
##7D427A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537C
Deuteranopia (green-blind)
#4F5A78
Tritanopia (blue-blind)
#814758
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d427a;
/* rgb */ color: rgb(125, 66, 122);
/* oklch */ color: oklch(47.3% 0.112 329.0);
Tailwind
colors: {
  custom: {
    50: '#a478a0',
    500: '#7d427a',
    950: '#000000',
  },
}
SCSS
$custom: #7d427a;
$custom-light: #a478a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d427a",
  "rgb": {
    "r": 125,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 303.051,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.11159,
    "h": 329
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#7D427A
secondary
#75A677
accent
#C76661
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7D427A

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

Preview Lab → · Contrast checker → · Palette generator →

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