#7D57CE#7D57CE

#7D57CE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.177 H 294.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7D57CE
RGBrgb(125, 87, 206)
HSLhsl(259, 55%, 57%)
HSVhsv(259, 58%, 81%)
CMYKcmyk(39.3%, 57.8%, 0%, 19.2%)
CIE-LABlab(46.49, 42.25, -56.40)
CIE-LCHlch(46.49, 70.47, 306.84°)
OKLaboklab(55.65% 0.0738 -0.1604)
OKLCHoklch(55.65% 0.177 294.7)
XYZxyz(23.0033, 15.6321, 60.1859)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57CE #A8CE57
analogous
#576CCE #7D57CE #B957CE
triadic
#7D57CE #CE7D57 #57CE7D
tetradic
#7D57CE #CE576C #A8CE57 #57CEB9
square
#7D57CE #CE576C #A8CE57 #57CEB9
split-complementary
#7D57CE #CEB957 #6CCE57
monochromatic
#442784 #5D34B3 #7D57CE #A286DC #C6B6EA

Accessibility & contrast

On white

5.09
#7D57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7D57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57CE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57CE#FFFFFF#000000##FFFFFF
##7D57CE1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106FD2
Deuteranopia (green-blind)
#236CCB
Tritanopia (blue-blind)
#68718A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d57ce;
/* rgb */ color: rgb(125, 87, 206);
/* oklch */ color: oklch(55.6% 0.177 294.7);
Tailwind
colors: {
  custom: {
    50: '#a788de',
    500: '#7d57ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d57ce;
$custom-light: #a788de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57ce",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 259.16,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.17653,
    "h": 294.7
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#7D57CE
secondary
#C9D8A8
accent
#DE4AAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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