#7E57BB#7E57BB

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

Color values

HEX#7E57BB
RGBrgb(126, 87, 187)
HSLhsl(263, 42%, 54%)
HSVhsv(263, 53%, 73%)
CMYKcmyk(32.6%, 53.5%, 0%, 26.7%)
CIE-LABlab(45.41, 37.46, -47.13)
CIE-LCHlch(45.41, 60.20, 308.48°)
OKLaboklab(54.5% 0.0747 -0.1331)
OKLCHoklch(54.5% 0.153 299.3)
XYZxyz(20.9799, 14.8397, 48.7631)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57BB #94BB57
analogous
#5762BB #7E57BB #B057BB
triadic
#7E57BB #BB7E57 #57BB7E
tetradic
#7E57BB #BB5762 #94BB57 #57BBB0
square
#7E57BB #BB5762 #94BB57 #57BBB0
split-complementary
#7E57BB #BBB057 #62BB57
monochromatic
#452C6C #603D97 #7E57BB #9F83CD #C1AEDE

Accessibility & contrast

On white

5.29
#7E57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7E57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57BB#FFFFFF#000000##FFFFFF
##7E57BB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#716B81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e57bb;
/* rgb */ color: rgb(126, 87, 187);
/* oklch */ color: oklch(54.5% 0.153 299.3);
Tailwind
colors: {
  custom: {
    50: '#a787d0',
    500: '#7e57bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e57bb;
$custom-light: #a787d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57bb",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 263.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.15265,
    "h": 299.3
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#7E57BB
secondary
#BCCCA2
accent
#D256A2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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