#7E57AF#7E57AF

#7E57AF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.8% C 0.137 H 302.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7E57AF
RGBrgb(126, 87, 175)
HSLhsl(267, 35%, 51%)
HSVhsv(267, 50%, 69%)
CMYKcmyk(28%, 50.3%, 0%, 31.4%)
CIE-LABlab(44.73, 34.39, -41.21)
CIE-LCHlch(44.73, 53.67, 309.85°)
OKLaboklab(53.77% 0.0738 -0.1158)
OKLCHoklch(53.77% 0.137 302.5)
XYZxyz(19.7485, 14.3471, 42.2780)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57AF #88AF57
analogous
#575CAF #7E57AF #AA57AF
triadic
#7E57AF #AF7E57 #57AF7E
tetradic
#7E57AF #AF575C #88AF57 #57AFAA
square
#7E57AF #AF575C #88AF57 #57AFAA
split-complementary
#7E57AF #AFAA57 #5CAF57
monochromatic
#432D5F #604188 #7E57AF #9E80C3 #BEAAD6

Accessibility & contrast

On white

5.43
#7E57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7E57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57AF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57AF#FFFFFF#000000##FFFFFF
##7E57AF1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#75677B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e57af;
/* rgb */ color: rgb(126, 87, 175);
/* oklch */ color: oklch(53.8% 0.137 302.5);
Tailwind
colors: {
  custom: {
    50: '#a687c7',
    500: '#7e57af',
    950: '#000000',
  },
}
SCSS
$custom: #7e57af;
$custom-light: #a687c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57af",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 266.591,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.13728,
    "h": 302.5
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#7E57AF
secondary
#B3C49E
accent
#CC5C9A
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7E57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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