#7D57EB#7D57EB

#7D57EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.212 H 289.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D57EB
RGBrgb(125, 87, 235)
HSLhsl(255, 79%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(46.8%, 63%, 0%, 7.8%)
CIE-LABlab(48.48, 50.18, -69.66)
CIE-LCHlch(48.48, 85.85, 305.77°)
OKLaboklab(57.73% 0.0723 -0.1994)
OKLCHoklch(57.73% 0.212 289.9)
XYZxyz(26.8568, 17.1735, 80.4809)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57EB #C5EB57
analogous
#577BEB #7D57EB #C757EB
triadic
#7D57EB #EB7D57 #57EB7D
tetradic
#7D57EB #EB577B #C5EB57 #57EBC7
square
#7D57EB #EB577B #C5EB57 #57EBC7
split-complementary
#7D57EB #EBC757 #7BEB57
monochromatic
#3E15B2 #5320E4 #7D57EB #A78EF2 #D2C4F8

Accessibility & contrast

On white

4.74
#7D57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57EB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57EB#FFFFFF#000000##FFFFFF
##7D57EB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#5A7A99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d57eb;
/* rgb */ color: rgb(125, 87, 235);
/* oklch */ color: oklch(57.7% 0.212 289.9);
Tailwind
colors: {
  custom: {
    50: '#ab88f2',
    500: '#7d57eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d57eb;
$custom-light: #ab88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57eb",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 255.405,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.21207,
    "h": 289.9
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#7D57EB
secondary
#DCE9B4
accent
#DB0AA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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