#7D57C8#7D57C8

#7D57C8 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.2% C 0.169 H 295.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7D57C8
RGBrgb(125, 87, 200)
HSLhsl(260, 51%, 56%)
HSVhsv(260, 57%, 78%)
CMYKcmyk(37.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(46.10, 40.64, -53.56)
CIE-LCHlch(46.10, 67.23, 307.19°)
OKLaboklab(55.24% 0.0738 -0.152)
OKLCHoklch(55.24% 0.169 295.9)
XYZxyz(22.2883, 15.3461, 56.4202)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57C8 #A2C857
analogous
#576AC8 #7D57C8 #B657C8
triadic
#7D57C8 #C87D57 #57C87D
tetradic
#7D57C8 #C8576A #A2C857 #57C8B6
square
#7D57C8 #C8576A #A2C857 #57C8B6
split-complementary
#7D57C8 #C8B657 #6AC857
monochromatic
#45297C #5E38AA #7D57C8 #A185D7 #C4B3E6

Accessibility & contrast

On white

5.16
#7D57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57C8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57C8#FFFFFF#000000##FFFFFF
##7D57C81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6ECC
Deuteranopia (green-blind)
#2C6CC5
Tritanopia (blue-blind)
#6B6F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d57c8;
/* rgb */ color: rgb(125, 87, 200);
/* oklch */ color: oklch(55.2% 0.169 295.9);
Tailwind
colors: {
  custom: {
    50: '#a788d9',
    500: '#7d57c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d57c8;
$custom-light: #a788d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57c8",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 260.177,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.169,
    "h": 295.9
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#7D57C8
secondary
#C5D5A6
accent
#DA4EAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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