#7D57F2#7D57F2

#7D57F2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.220 H 289.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D57F2
RGBrgb(125, 87, 242)
HSLhsl(255, 86%, 65%)
HSVhsv(255, 64%, 95%)
CMYKcmyk(48.3%, 64%, 0%, 5.1%)
CIE-LABlab(48.99, 52.12, -72.76)
CIE-LCHlch(48.99, 89.50, 305.61°)
OKLaboklab(58.26% 0.0716 -0.2085)
OKLCHoklch(58.26% 0.22 289)
XYZxyz(27.8880, 17.5860, 85.9122)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57F2 #CCF257
analogous
#577FF2 #7D57F2 #CB57F2
triadic
#7D57F2 #F27D57 #57F27D
tetradic
#7D57F2 #F2577F #CCF257 #57F2CB
square
#7D57F2 #F2577F #CCF257 #57F2CB
split-complementary
#7D57F2 #F2CB57 #7FF257
monochromatic
#3A0FC0 #511EEE #7D57F2 #A990F6 #D5C9FB

Accessibility & contrast

On white

4.65
#7D57F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7D57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57F2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57F2#FFFFFF#000000##FFFFFF
##7D57F21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#557D9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d57f2;
/* rgb */ color: rgb(125, 87, 242);
/* oklch */ color: oklch(58.3% 0.220 289.0);
Tailwind
colors: {
  custom: {
    50: '#ab88f7',
    500: '#7d57f2',
    950: '#000000',
  },
}
SCSS
$custom: #7d57f2;
$custom-light: #ab88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57f2",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 254.71,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.22042,
    "h": 289
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#7D57F2
secondary
#E0EDB8
accent
#E203AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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