#7D57DE#7D57DE

#7D57DE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.196 H 291.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D57DE
RGBrgb(125, 87, 222)
HSLhsl(257, 67%, 61%)
HSVhsv(257, 61%, 87%)
CMYKcmyk(43.7%, 60.8%, 0%, 12.9%)
CIE-LABlab(47.56, 46.60, -63.81)
CIE-LCHlch(47.56, 79.01, 306.14°)
OKLaboklab(56.77% 0.0733 -0.1821)
OKLCHoklch(56.77% 0.196 291.9)
XYZxyz(25.0468, 16.4495, 70.9485)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57DE #B8DE57
analogous
#5774DE #7D57DE #C057DE
triadic
#7D57DE #DE7D57 #57DE7D
tetradic
#7D57DE #DE5774 #B8DE57 #57DEC0
square
#7D57DE #DE5774 #B8DE57 #57DEC0
split-complementary
#7D57DE #DEC057 #74DE57
monochromatic
#421F9C #5829CF #7D57DE #A58AE8 #CCBDF2

Accessibility & contrast

On white

4.90
#7D57DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D57DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57DE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57DE#FFFFFF#000000##FFFFFF
##7D57DE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#617692
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d57de;
/* rgb */ color: rgb(125, 87, 222);
/* oklch */ color: oklch(56.8% 0.196 291.9);
Tailwind
colors: {
  custom: {
    50: '#a988e9',
    500: '#7d57de',
    950: '#000000',
  },
}
SCSS
$custom: #7d57de;
$custom-light: #a988e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57de",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 256.889,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.19632,
    "h": 291.9
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#7D57DE
secondary
#D4E2AF
accent
#CF169B
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D57DE

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

Preview Lab → · Contrast checker → · Palette generator →

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