#7E388E#7E388E

#7E388E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.0% C 0.150 H 319.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7E388E
RGBrgb(126, 56, 142)
HSLhsl(289, 43%, 39%)
HSVhsv(289, 61%, 56%)
CMYKcmyk(11.3%, 60.6%, 0%, 44.3%)
CIE-LABlab(36.40, 43.74, -34.65)
CIE-LCHlch(36.40, 55.80, 321.61°)
OKLaboklab(47.03% 0.1143 -0.0965)
OKLCHoklch(47.03% 0.15 319.8)
XYZxyz(14.9002, 9.2176, 26.5803)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E388E #488E38
analogous
#53388E #7E388E #8E3873
triadic
#7E388E #8E7E38 #388E7E
tetradic
#7E388E #8E5338 #488E38 #38738E
square
#7E388E #8E5338 #488E38 #38738E
split-complementary
#7E388E #738E38 #388E53
monochromatic
#301536 #572762 #7E388E #A44BB8 #BA77C9

Accessibility & contrast

On white

7.39
#7E388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7E388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E388E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E388E#FFFFFF#000000##FFFFFF
##7E388E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#3F588C
Tritanopia (blue-blind)
#7F465D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e388e;
/* rgb */ color: rgb(126, 56, 142);
/* oklch */ color: oklch(47.0% 0.150 319.8);
Tailwind
colors: {
  custom: {
    50: '#a673af',
    500: '#7e388e',
    950: '#000000',
  },
}
SCSS
$custom: #7e388e;
$custom-light: #a673af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e388e",
  "rgb": {
    "r": 126,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 288.837,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47034,
    "c": 0.14957,
    "h": 319.8
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#7E388E
secondary
#7CB26F
accent
#D3556C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E388E

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

Preview Lab → · Contrast checker → · Palette generator →

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