#7D57DF#7D57DF

#7D57DF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.198 H 291.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D57DF
RGBrgb(125, 87, 223)
HSLhsl(257, 68%, 61%)
HSVhsv(257, 61%, 87%)
CMYKcmyk(43.9%, 61%, 0%, 12.5%)
CIE-LABlab(47.63, 46.87, -64.26)
CIE-LCHlch(47.63, 79.54, 306.11°)
OKLaboklab(56.85% 0.0732 -0.1835)
OKLCHoklch(56.85% 0.198 291.7)
XYZxyz(25.1812, 16.5033, 71.6564)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57DF #B9DF57
analogous
#5775DF #7D57DF #C157DF
triadic
#7D57DF #DF7D57 #57DF7D
tetradic
#7D57DF #DF5775 #B9DF57 #57DFC1
square
#7D57DF #DF5775 #B9DF57 #57DFC1
split-complementary
#7D57DF #DFC157 #75DF57
monochromatic
#421E9E #5728D1 #7D57DF #A58AE9 #CDBEF3

Accessibility & contrast

On white

4.88
#7D57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D57DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57DF#FFFFFF#000000##FFFFFF
##7D57DF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#607693
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d57df;
/* rgb */ color: rgb(125, 87, 223);
/* oklch */ color: oklch(56.8% 0.198 291.7);
Tailwind
colors: {
  custom: {
    50: '#a988ea',
    500: '#7d57df',
    950: '#000000',
  },
}
SCSS
$custom: #7d57df;
$custom-light: #a988ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57df",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 256.765,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.19754,
    "h": 291.7
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#7D57DF
secondary
#D4E3AF
accent
#D0169C
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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