#7E438E#7E438E

#7E438E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.6% C 0.131 H 318.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7E438E
RGBrgb(126, 67, 142)
HSLhsl(287, 36%, 41%)
HSVhsv(287, 53%, 56%)
CMYKcmyk(11.3%, 52.8%, 0%, 44.3%)
CIE-LABlab(38.56, 37.97, -31.24)
CIE-LCHlch(38.56, 49.17, 320.55°)
OKLaboklab(48.62% 0.0988 -0.0867)
OKLCHoklch(48.62% 0.131 318.7)
XYZxyz(15.4932, 10.4035, 26.7779)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E438E #538E43
analogous
#58438E #7E438E #8E4378
triadic
#7E438E #8E7E43 #438E7E
tetradic
#7E438E #8E5843 #538E43 #43788E
square
#7E438E #8E5843 #538E43 #43788E
split-complementary
#7E438E #788E43 #438E58
monochromatic
#341C3B #592F64 #7E438E #A05CB2 #B886C6

Accessibility & contrast

On white

6.82
#7E438E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7E438E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E438E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E438E#FFFFFF#000000##FFFFFF
##7E438E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#7E4E62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e438e;
/* rgb */ color: rgb(126, 67, 142);
/* oklch */ color: oklch(48.6% 0.131 318.7);
Tailwind
colors: {
  custom: {
    50: '#a579af',
    500: '#7e438e',
    950: '#000000',
  },
}
SCSS
$custom: #7e438e;
$custom-light: #a579af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e438e",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 287.2,
    "s": 35.885,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48616,
    "c": 0.13146,
    "h": 318.7
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E438E

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

Preview Lab → · Contrast checker → · Palette generator →

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