#7D57F7#7D57F7

#7D57F7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.226 H 288.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D57F7
RGBrgb(125, 87, 247)
HSLhsl(254, 91%, 65%)
HSVhsv(254, 65%, 97%)
CMYKcmyk(49.4%, 64.8%, 0%, 3.1%)
CIE-LABlab(49.36, 53.51, -74.95)
CIE-LCHlch(49.36, 92.09, 305.52°)
OKLaboklab(58.65% 0.071 -0.2149)
OKLCHoklch(58.65% 0.226 288.3)
XYZxyz(28.6493, 17.8905, 89.9213)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57F7 #D1F757
analogous
#5781F7 #7D57F7 #CD57F7
triadic
#7D57F7 #F77D57 #57F77D
tetradic
#7D57F7 #F75781 #D1F757 #57F7CD
square
#7D57F7 #F75781 #D1F757 #57F7CD
split-complementary
#7D57F7 #F7CD57 #81F757
monochromatic
#370ACA #501DF4 #7D57F7 #AA91FA #D7CCFD

Accessibility & contrast

On white

4.59
#7D57F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7D57F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57F7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57F7#FFFFFF#000000##FFFFFF
##7D57F71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0071F4
Tritanopia (blue-blind)
#527EA0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d57f7;
/* rgb */ color: rgb(125, 87, 247);
/* oklch */ color: oklch(58.6% 0.226 288.3);
Tailwind
colors: {
  custom: {
    50: '#ac89fb',
    500: '#7d57f7',
    950: '#000000',
  },
}
SCSS
$custom: #7d57f7;
$custom-light: #ac89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57f7",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 247
  },
  "hsl": {
    "h": 254.25,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58649,
    "c": 0.22633,
    "h": 288.3
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#7D57F7
secondary
#E3F0BA
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D57F7

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

Preview Lab → · Contrast checker → · Palette generator →

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