#7D57E7#7D57E7

#7D57E7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.207 H 290.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D57E7
RGBrgb(125, 87, 231)
HSLhsl(256, 75%, 62%)
HSVhsv(256, 62%, 91%)
CMYKcmyk(45.9%, 62.3%, 0%, 9.4%)
CIE-LABlab(48.19, 49.07, -67.88)
CIE-LCHlch(48.19, 83.76, 305.87°)
OKLaboklab(57.43% 0.0726 -0.1941)
OKLCHoklch(57.43% 0.207 290.5)
XYZxyz(26.2854, 16.9449, 77.4715)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57E7 #C1E757
analogous
#5779E7 #7D57E7 #C557E7
triadic
#7D57E7 #E77D57 #57E77D
tetradic
#7D57E7 #E75779 #C1E757 #57E7C5
square
#7D57E7 #E75779 #C1E757 #57E7C5
split-complementary
#7D57E7 #E7C557 #79E757
monochromatic
#3F18AB #5421DF #7D57E7 #A68DEF #D0C2F6

Accessibility & contrast

On white

4.78
#7D57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7D57E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57E7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57E7#FFFFFF#000000##FFFFFF
##7D57E71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#5C7997
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d57e7;
/* rgb */ color: rgb(125, 87, 231);
/* oklch */ color: oklch(57.4% 0.207 290.5);
Tailwind
colors: {
  custom: {
    50: '#aa88f0',
    500: '#7d57e7',
    950: '#000000',
  },
}
SCSS
$custom: #7d57e7;
$custom-light: #aa88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57e7",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 255.833,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.20725,
    "h": 290.5
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#7D57E7
secondary
#D9E7B3
accent
#D70EA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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