#7E57BF#7E57BF

#7E57BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.158 H 298.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7E57BF
RGBrgb(126, 87, 191)
HSLhsl(263, 45%, 55%)
HSVhsv(263, 54%, 75%)
CMYKcmyk(34%, 54.5%, 0%, 25.1%)
CIE-LABlab(45.65, 38.50, -49.08)
CIE-LCHlch(45.65, 62.38, 308.12°)
OKLaboklab(54.76% 0.0749 -0.1388)
OKLCHoklch(54.76% 0.158 298.3)
XYZxyz(21.4140, 15.0134, 51.0498)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57BF #98BF57
analogous
#5764BF #7E57BF #B257BF
triadic
#7E57BF #BF7E57 #57BF7E
tetradic
#7E57BF #BF5764 #98BF57 #57BFB2
square
#7E57BF #BF5764 #98BF57 #57BFB2
split-complementary
#7E57BF #BFB257 #64BF57
monochromatic
#452B71 #603C9D #7E57BF #A083D0 #C2B0E1

Accessibility & contrast

On white

5.25
#7E57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7E57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57BF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57BF#FFFFFF#000000##FFFFFF
##7E57BF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#706C83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e57bf;
/* rgb */ color: rgb(126, 87, 191);
/* oklch */ color: oklch(54.8% 0.158 298.3);
Tailwind
colors: {
  custom: {
    50: '#a787d3',
    500: '#7e57bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e57bf;
$custom-light: #a787d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57bf",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 262.5,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.15774,
    "h": 298.3
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#7E57BF
secondary
#BECFA3
accent
#D553A4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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