#7D57ED#7D57ED

#7D57ED is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.214 H 289.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7D57ED
RGBrgb(125, 87, 237)
HSLhsl(255, 81%, 64%)
HSVhsv(255, 63%, 93%)
CMYKcmyk(47.3%, 63.3%, 0%, 7.1%)
CIE-LABlab(48.62, 50.73, -70.55)
CIE-LCHlch(48.62, 86.90, 305.72°)
OKLaboklab(57.88% 0.0721 -0.202)
OKLCHoklch(57.88% 0.214 289.6)
XYZxyz(27.1473, 17.2897, 82.0112)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57ED #C7ED57
analogous
#577CED #7D57ED #C857ED
triadic
#7D57ED #ED7D57 #57ED7D
tetradic
#7D57ED #ED577C #C7ED57 #57EDC8
square
#7D57ED #ED577C #C7ED57 #57EDC8
split-complementary
#7D57ED #EDC857 #7CED57
monochromatic
#3D14B6 #5220E7 #7D57ED #A88EF3 #D3C6F9

Accessibility & contrast

On white

4.71
#7D57ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7D57ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57ED
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57ED#FFFFFF#000000##FFFFFF
##7D57ED1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#597B9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d57ed;
/* rgb */ color: rgb(125, 87, 237);
/* oklch */ color: oklch(57.9% 0.214 289.6);
Tailwind
colors: {
  custom: {
    50: '#ab88f4',
    500: '#7d57ed',
    950: '#000000',
  },
}
SCSS
$custom: #7d57ed;
$custom-light: #ab88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57ed",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 255.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57882,
    "c": 0.21446,
    "h": 289.6
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#7D57ED
secondary
#DDEAB5
accent
#DD09A7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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