#7E57CE#7E57CE

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

Color values

HEX#7E57CE
RGBrgb(126, 87, 206)
HSLhsl(260, 55%, 57%)
HSVhsv(260, 58%, 81%)
CMYKcmyk(38.8%, 57.8%, 0%, 19.2%)
CIE-LABlab(46.59, 42.47, -56.23)
CIE-LCHlch(46.59, 70.47, 307.07°)
OKLaboklab(55.75% 0.0751 -0.1598)
OKLCHoklch(55.75% 0.177 295.2)
XYZxyz(23.1500, 15.7078, 60.1928)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57CE #A7CE57
analogous
#576BCE #7E57CE #BA57CE
triadic
#7E57CE #CE7E57 #57CE7E
tetradic
#7E57CE #CE576B #A7CE57 #57CEBA
square
#7E57CE #CE576B #A7CE57 #57CEBA
split-complementary
#7E57CE #CEBA57 #6BCE57
monochromatic
#452784 #5E34B3 #7E57CE #A286DC #C7B6EA

Accessibility & contrast

On white

5.07
#7E57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E57CE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57CE#FFFFFF#000000##FFFFFF
##7E57CE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#246DCB
Tritanopia (blue-blind)
#6A708A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e57ce;
/* rgb */ color: rgb(126, 87, 206);
/* oklch */ color: oklch(55.7% 0.177 295.2);
Tailwind
colors: {
  custom: {
    50: '#a888de',
    500: '#7e57ce',
    950: '#000000',
  },
}
SCSS
$custom: #7e57ce;
$custom-light: #a888de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57ce",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 259.664,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.17661,
    "h": 295.2
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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