#7D57AF#7D57AF

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

Color values

HEX#7D57AF
RGBrgb(125, 87, 175)
HSLhsl(266, 35%, 51%)
HSVhsv(266, 50%, 69%)
CMYKcmyk(28.6%, 50.3%, 0%, 31.4%)
CIE-LABlab(44.62, 34.12, -41.38)
CIE-LCHlch(44.62, 53.63, 309.50°)
OKLaboklab(53.67% 0.0725 -0.1163)
OKLCHoklch(53.67% 0.137 301.9)
XYZxyz(19.6018, 14.2715, 42.2711)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57AF #89AF57
analogous
#575DAF #7D57AF #A957AF
triadic
#7D57AF #AF7D57 #57AF7D
tetradic
#7D57AF #AF575D #89AF57 #57AFA9
square
#7D57AF #AF575D #89AF57 #57AFA9
split-complementary
#7D57AF #AFA957 #5DAF57
monochromatic
#422D5F #604188 #7D57AF #9D80C3 #BDAAD6

Accessibility & contrast

On white

5.45
#7D57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D57AF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57AF#FFFFFF#000000##FFFFFF
##7D57AF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#4569AD
Tritanopia (blue-blind)
#74677B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d57af;
/* rgb */ color: rgb(125, 87, 175);
/* oklch */ color: oklch(53.7% 0.137 301.9);
Tailwind
colors: {
  custom: {
    50: '#a587c7',
    500: '#7d57af',
    950: '#000000',
  },
}
SCSS
$custom: #7d57af;
$custom-light: #a587c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57af",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 265.909,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53666,
    "c": 0.13707,
    "h": 301.9
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#7D57AF
secondary
#B4C49E
accent
#CC5C9B
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7D57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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