#7D57EA#7D57EA

#7D57EA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.211 H 290.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7D57EA
RGBrgb(125, 87, 234)
HSLhsl(256, 78%, 63%)
HSVhsv(256, 63%, 92%)
CMYKcmyk(46.6%, 62.8%, 0%, 8.2%)
CIE-LABlab(48.41, 49.90, -69.22)
CIE-LCHlch(48.41, 85.33, 305.79°)
OKLaboklab(57.66% 0.0724 -0.1981)
OKLCHoklch(57.66% 0.211 290.1)
XYZxyz(26.7127, 17.1159, 79.7222)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57EA #C4EA57
analogous
#577AEA #7D57EA #C657EA
triadic
#7D57EA #EA7D57 #57EA7D
tetradic
#7D57EA #EA577A #C4EA57 #57EAC6
square
#7D57EA #EA577A #C4EA57 #57EAC6
split-complementary
#7D57EA #EAC657 #7AEA57
monochromatic
#3E16B1 #5321E3 #7D57EA #A78DF1 #D1C4F8

Accessibility & contrast

On white

4.75
#7D57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7D57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57EA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57EA#FFFFFF#000000##FFFFFF
##7D57EA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d57ea;
/* rgb */ color: rgb(125, 87, 234);
/* oklch */ color: oklch(57.7% 0.211 290.1);
Tailwind
colors: {
  custom: {
    50: '#aa88f2',
    500: '#7d57ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d57ea;
$custom-light: #aa88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57ea",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 255.51,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.21087,
    "h": 290.1
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#7D57EA
secondary
#DBE9B4
accent
#DA0BA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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