#7D57BD#7D57BD

#7D57BD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.155 H 298.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7D57BD
RGBrgb(125, 87, 189)
HSLhsl(262, 44%, 54%)
HSVhsv(262, 54%, 74%)
CMYKcmyk(33.9%, 54%, 0%, 25.9%)
CIE-LABlab(45.43, 37.73, -48.28)
CIE-LCHlch(45.43, 61.27, 308.01°)
OKLaboklab(54.53% 0.0735 -0.1365)
OKLCHoklch(54.53% 0.155 298.3)
XYZxyz(21.0487, 14.8503, 49.8917)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57BD #97BD57
analogous
#5764BD #7D57BD #B057BD
triadic
#7D57BD #BD7D57 #57BD7D
tetradic
#7D57BD #BD5764 #97BD57 #57BDB0
square
#7D57BD #BD5764 #97BD57 #57BDB0
split-complementary
#7D57BD #BDB057 #64BD57
monochromatic
#442B6E #5F3D9A #7D57BD #9F83CE #C1AFE0

Accessibility & contrast

On white

5.29
#7D57BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7D57BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57BD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57BD#FFFFFF#000000##FFFFFF
##7D57BD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC0
Deuteranopia (green-blind)
#396BBB
Tritanopia (blue-blind)
#6F6B82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d57bd;
/* rgb */ color: rgb(125, 87, 189);
/* oklch */ color: oklch(54.5% 0.155 298.3);
Tailwind
colors: {
  custom: {
    50: '#a687d1',
    500: '#7d57bd',
    950: '#000000',
  },
}
SCSS
$custom: #7d57bd;
$custom-light: #a687d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57bd",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 262.353,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.15505,
    "h": 298.3
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#7D57BD
secondary
#BDCEA2
accent
#D354A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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