#7D57AE#7D57AE

#7D57AE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.6% C 0.136 H 302.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7D57AE
RGBrgb(125, 87, 174)
HSLhsl(266, 35%, 51%)
HSVhsv(266, 50%, 68%)
CMYKcmyk(28.2%, 50%, 0%, 31.8%)
CIE-LABlab(44.56, 33.86, -40.88)
CIE-LCHlch(44.56, 53.09, 309.63°)
OKLaboklab(53.61% 0.0724 -0.1149)
OKLCHoklch(53.61% 0.136 302.2)
XYZxyz(19.5039, 14.2323, 41.7558)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57AE #88AE57
analogous
#575CAE #7D57AE #A857AE
triadic
#7D57AE #AE7D57 #57AE7D
tetradic
#7D57AE #AE575C #88AE57 #57AEA8
square
#7D57AE #AE575C #88AE57 #57AEA8
split-complementary
#7D57AE #AEA857 #5CAE57
monochromatic
#422D5E #5F4187 #7D57AE #9D80C2 #BDAAD6

Accessibility & contrast

On white

5.46
#7D57AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7D57AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57AE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57AE#FFFFFF#000000##FFFFFF
##7D57AE1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B1
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#74677A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d57ae;
/* rgb */ color: rgb(125, 87, 174);
/* oklch */ color: oklch(53.6% 0.136 302.2);
Tailwind
colors: {
  custom: {
    50: '#a587c6',
    500: '#7d57ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d57ae;
$custom-light: #a587c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57ae",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 266.207,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.13577,
    "h": 302.2
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#7D57AE
secondary
#B3C49D
accent
#CB5D9B
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7D57AE

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

Preview Lab → · Contrast checker → · Palette generator →

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