#7E57BE#7E57BE

#7E57BE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.156 H 298.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7E57BE
RGBrgb(126, 87, 190)
HSLhsl(263, 44%, 54%)
HSVhsv(263, 54%, 75%)
CMYKcmyk(33.7%, 54.2%, 0%, 25.5%)
CIE-LABlab(45.59, 38.24, -48.59)
CIE-LCHlch(45.59, 61.83, 308.20°)
OKLaboklab(54.69% 0.0748 -0.1374)
OKLCHoklch(54.69% 0.156 298.6)
XYZxyz(21.3044, 14.9695, 50.4722)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57BE #97BE57
analogous
#5764BE #7E57BE #B157BE
triadic
#7E57BE #BE7E57 #57BE7E
tetradic
#7E57BE #BE5764 #97BE57 #57BEB1
square
#7E57BE #BE5764 #97BE57 #57BEB1
split-complementary
#7E57BE #BEB157 #64BE57
monochromatic
#452B6F #603C9C #7E57BE #A083CF #C2AFE0

Accessibility & contrast

On white

5.26
#7E57BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7E57BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57BE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57BE#FFFFFF#000000##FFFFFF
##7E57BE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#706B82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e57be;
/* rgb */ color: rgb(126, 87, 190);
/* oklch */ color: oklch(54.7% 0.156 298.6);
Tailwind
colors: {
  custom: {
    50: '#a787d2',
    500: '#7e57be',
    950: '#000000',
  },
}
SCSS
$custom: #7e57be;
$custom-light: #a787d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57be",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 262.718,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.15646,
    "h": 298.6
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#7E57BE
secondary
#BECEA3
accent
#D454A3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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