#7E357D#7E357D

#7E357D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.7% C 0.138 H 328.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7E357D
RGBrgb(126, 53, 125)
HSLhsl(301, 41%, 35%)
HSVhsv(301, 58%, 49%)
CMYKcmyk(0%, 57.9%, 0.8%, 50.6%)
CIE-LABlab(34.93, 41.86, -26.48)
CIE-LCHlch(34.93, 49.53, 327.69°)
OKLaboklab(45.66% 0.1169 -0.0728)
OKLCHoklch(45.66% 0.138 328.1)
XYZxyz(13.5788, 8.4633, 20.3164)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E357D #357E36
analogous
#5A357E #7E357D #7E3558
triadic
#7E357D #7D7E35 #357D7E
tetradic
#7E357D #7E5A35 #357E36 #35587E
square
#7E357D #7E5A35 #357E36 #35587E
split-complementary
#7E357D #587E35 #357E5A
monochromatic
#281128 #532352 #7E357D #A947A8 #C16CC0

Accessibility & contrast

On white

7.80
#7E357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E357D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E357D#FFFFFF#000000##FFFFFF
##7E357D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#823D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e357d;
/* rgb */ color: rgb(126, 53, 125);
/* oklch */ color: oklch(45.7% 0.138 328.1);
Tailwind
colors: {
  custom: {
    50: '#a671a3',
    500: '#7e357d',
    950: '#000000',
  },
}
SCSS
$custom: #7e357d;
$custom-light: #a671a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e357d",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 300.822,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4566,
    "c": 0.13771,
    "h": 328.1
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#7E357D
secondary
#65AA66
accent
#D15957
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E357D

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

Preview Lab → · Contrast checker → · Palette generator →

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