#7D57CD#7D57CD

#7D57CD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.175 H 294.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7D57CD
RGBrgb(125, 87, 205)
HSLhsl(259, 54%, 57%)
HSVhsv(259, 58%, 80%)
CMYKcmyk(39%, 57.6%, 0%, 19.6%)
CIE-LABlab(46.42, 41.98, -55.93)
CIE-LCHlch(46.42, 69.93, 306.89°)
OKLaboklab(55.58% 0.0738 -0.159)
OKLCHoklch(55.58% 0.175 294.9)
XYZxyz(22.8822, 15.5837, 59.5481)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57CD #A7CD57
analogous
#576CCD #7D57CD #B857CD
triadic
#7D57CD #CD7D57 #57CD7D
tetradic
#7D57CD #CD576C #A7CD57 #57CDB8
square
#7D57CD #CD576C #A7CD57 #57CDB8
split-complementary
#7D57CD #CDB857 #6CCD57
monochromatic
#442783 #5D35B2 #7D57CD #A186DB #C6B5E9

Accessibility & contrast

On white

5.10
#7D57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7D57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57CD#FFFFFF#000000##FFFFFF
##7D57CD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136FD1
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#69708A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d57cd;
/* rgb */ color: rgb(125, 87, 205);
/* oklch */ color: oklch(55.6% 0.175 294.9);
Tailwind
colors: {
  custom: {
    50: '#a788dd',
    500: '#7d57cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d57cd;
$custom-light: #a788dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57cd",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 259.322,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.17528,
    "h": 294.9
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#7D57CD
secondary
#C8D8A8
accent
#DD4AAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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