#7D57DC#7D57DC

#7D57DC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.6% C 0.194 H 292.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D57DC
RGBrgb(125, 87, 220)
HSLhsl(257, 66%, 60%)
HSVhsv(257, 60%, 86%)
CMYKcmyk(43.2%, 60.5%, 0%, 13.7%)
CIE-LABlab(47.42, 46.05, -62.89)
CIE-LCHlch(47.42, 77.95, 306.21°)
OKLaboklab(56.63% 0.0734 -0.1795)
OKLCHoklch(56.63% 0.194 292.2)
XYZxyz(24.7804, 16.3429, 69.5451)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57DC #B6DC57
analogous
#5773DC #7D57DC #C057DC
triadic
#7D57DC #DC7D57 #57DC7D
tetradic
#7D57DC #DC5773 #B6DC57 #57DCC0
square
#7D57DC #DC5773 #B6DC57 #57DCC0
split-complementary
#7D57DC #DCC057 #73DC57
monochromatic
#422099 #582ACB #7D57DC #A48AE7 #CBBCF1

Accessibility & contrast

On white

4.92
#7D57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7D57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57DC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57DC#FFFFFF#000000##FFFFFF
##7D57DC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#627591
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d57dc;
/* rgb */ color: rgb(125, 87, 220);
/* oklch */ color: oklch(56.6% 0.194 292.2);
Tailwind
colors: {
  custom: {
    50: '#a988e8',
    500: '#7d57dc',
    950: '#000000',
  },
}
SCSS
$custom: #7d57dc;
$custom-light: #a988e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57dc",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 257.143,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.19388,
    "h": 292.2
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#7D57DC
secondary
#D2E1AE
accent
#CD189A
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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