#7D438D#7D438D

#7D438D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.4% C 0.130 H 318.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7D438D
RGBrgb(125, 67, 141)
HSLhsl(287, 36%, 41%)
HSVhsv(287, 52%, 55%)
CMYKcmyk(11.3%, 52.5%, 0%, 44.7%)
CIE-LABlab(38.37, 37.46, -30.93)
CIE-LCHlch(38.37, 48.58, 320.45°)
OKLaboklab(48.43% 0.0974 -0.0858)
OKLCHoklch(48.43% 0.13 318.6)
XYZxyz(15.2717, 10.2979, 26.3774)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D438D #538D43
analogous
#58438D #7D438D #8D4378
triadic
#7D438D #8D7D43 #438D7D
tetradic
#7D438D #8D5843 #538D43 #43788D
square
#7D438D #8D5843 #538D43 #43788D
split-complementary
#7D438D #788D43 #438D58
monochromatic
#331C3A #582F64 #7D438D #9F5CB1 #B785C5

Accessibility & contrast

On white

6.86
#7D438D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D438D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D438D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D438D#FFFFFF#000000##FFFFFF
##7D438D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#7D4E61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d438d;
/* rgb */ color: rgb(125, 67, 141);
/* oklch */ color: oklch(48.4% 0.130 318.6);
Tailwind
colors: {
  custom: {
    50: '#a479ae',
    500: '#7d438d',
    950: '#000000',
  },
}
SCSS
$custom: #7d438d;
$custom-light: #a479ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d438d",
  "rgb": {
    "r": 125,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 287.027,
    "s": 35.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.12984,
    "h": 318.6
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#7D438D
secondary
#87B07C
accent
#CC5C74
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7D438D

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

Preview Lab → · Contrast checker → · Palette generator →

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