#7D57BC#7D57BC

#7D57BC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.154 H 298.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D57BC
RGBrgb(125, 87, 188)
HSLhsl(263, 43%, 54%)
HSVhsv(263, 54%, 74%)
CMYKcmyk(33.5%, 53.7%, 0%, 26.3%)
CIE-LABlab(45.37, 37.47, -47.79)
CIE-LCHlch(45.37, 60.73, 308.09°)
OKLaboklab(54.47% 0.0735 -0.1351)
OKLCHoklch(54.47% 0.154 298.5)
XYZxyz(20.9405, 14.8070, 49.3220)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57BC #96BC57
analogous
#5764BC #7D57BC #B057BC
triadic
#7D57BC #BC7D57 #57BC7D
tetradic
#7D57BC #BC5764 #96BC57 #57BCB0
square
#7D57BC #BC5764 #96BC57 #57BCB0
split-complementary
#7D57BC #BCB057 #64BC57
monochromatic
#442C6D #603D99 #7D57BC #9F83CD #C1AFDF

Accessibility & contrast

On white

5.30
#7D57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7D57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57BC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57BC#FFFFFF#000000##FFFFFF
##7D57BC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#3A6ABA
Tritanopia (blue-blind)
#6F6B81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d57bc;
/* rgb */ color: rgb(125, 87, 188);
/* oklch */ color: oklch(54.5% 0.154 298.5);
Tailwind
colors: {
  custom: {
    50: '#a687d1',
    500: '#7d57bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d57bc;
$custom-light: #a687d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57bc",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 262.574,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.15377,
    "h": 298.5
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#7D57BC
secondary
#BDCDA2
accent
#D355A3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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