#7C57CE#7C57CE

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

Color values

HEX#7C57CE
RGBrgb(124, 87, 206)
HSLhsl(259, 55%, 57%)
HSVhsv(259, 58%, 81%)
CMYKcmyk(39.8%, 57.8%, 0%, 19.2%)
CIE-LABlab(46.39, 42.02, -56.57)
CIE-LCHlch(46.39, 70.47, 306.61°)
OKLaboklab(55.55% 0.0725 -0.1609)
OKLCHoklch(55.55% 0.176 294.3)
XYZxyz(22.8580, 15.5572, 60.1791)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C57CE #A9CE57
analogous
#576ECE #7C57CE #B757CE
triadic
#7C57CE #CE7C57 #57CE7C
tetradic
#7C57CE #CE576E #A9CE57 #57CEB7
square
#7C57CE #CE576E #A9CE57 #57CEB7
split-complementary
#7C57CE #CEB757 #6ECE57
monochromatic
#442784 #5C34B3 #7C57CE #A186DC #C6B6EA

Accessibility & contrast

On white

5.11
#7C57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7C57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C57CE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C57CE#FFFFFF#000000##FFFFFF
##7C57CE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6FD2
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#67718A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c57ce;
/* rgb */ color: rgb(124, 87, 206);
/* oklch */ color: oklch(55.6% 0.176 294.3);
Tailwind
colors: {
  custom: {
    50: '#a788de',
    500: '#7c57ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c57ce;
$custom-light: #a788de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c57ce",
  "rgb": {
    "r": 124,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 258.655,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.17646,
    "h": 294.3
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

primary
#7C57CE
secondary
#C9D8A8
accent
#DE4AB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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