#7D57CF#7D57CF

#7D57CF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.178 H 294.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7D57CF
RGBrgb(125, 87, 207)
HSLhsl(259, 56%, 58%)
HSVhsv(259, 58%, 81%)
CMYKcmyk(39.6%, 58%, 0%, 18.8%)
CIE-LABlab(46.55, 42.52, -56.87)
CIE-LCHlch(46.55, 71.01, 306.78°)
OKLaboklab(55.72% 0.0738 -0.1617)
OKLCHoklch(55.72% 0.178 294.5)
XYZxyz(23.1252, 15.6808, 60.8277)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57CF #A9CF57
analogous
#576DCF #7D57CF #B957CF
triadic
#7D57CF #CF7D57 #57CF7D
tetradic
#7D57CF #CF576D #A9CF57 #57CFB9
square
#7D57CF #CF576D #A9CF57 #57CFB9
split-complementary
#7D57CF #CFB957 #6DCF57
monochromatic
#442685 #5D34B5 #7D57CF #A287DD #C7B6EA

Accessibility & contrast

On white

5.08
#7D57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7D57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57CF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57CF#FFFFFF#000000##FFFFFF
##7D57CF1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6FD3
Deuteranopia (green-blind)
#216CCC
Tritanopia (blue-blind)
#68718B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d57cf;
/* rgb */ color: rgb(125, 87, 207);
/* oklch */ color: oklch(55.7% 0.178 294.5);
Tailwind
colors: {
  custom: {
    50: '#a888de',
    500: '#7d57cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d57cf;
$custom-light: #a888de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57cf",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 259,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.17778,
    "h": 294.5
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#7D57CF
secondary
#CAD9A9
accent
#DF49AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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