#7E57FA#7E57FA

#7E57FA is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.230 H 288.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E57FA
RGBrgb(126, 87, 250)
HSLhsl(254, 94%, 66%)
HSVhsv(254, 65%, 98%)
CMYKcmyk(49.6%, 65.2%, 0%, 2%)
CIE-LABlab(49.68, 54.51, -76.10)
CIE-LCHlch(49.68, 93.61, 305.62°)
OKLaboklab(58.97% 0.072 -0.2182)
OKLCHoklch(58.97% 0.23 288.3)
XYZxyz(29.2627, 18.1528, 92.3859)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57FA #D3FA57
analogous
#5781FA #7E57FA #D057FA
triadic
#7E57FA #FA7E57 #57FA7E
tetradic
#7E57FA #FA5781 #D3FA57 #57FAD0
square
#7E57FA #FA5781 #D3FA57 #57FAD0
split-complementary
#7E57FA #FAD057 #81FA57
monochromatic
#3706D0 #501CF8 #7E57FA #AC92FC #D9CEFE

Accessibility & contrast

On white

4.53
#7E57FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7E57FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E57FA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57FA#FFFFFF#000000##000000
##7E57FA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072F7
Tritanopia (blue-blind)
#527FA1
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e57fa;
/* rgb */ color: rgb(126, 87, 250);
/* oklch */ color: oklch(59.0% 0.230 288.3);
Tailwind
colors: {
  custom: {
    50: '#ad89fd',
    500: '#7e57fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e57fa;
$custom-light: #ad89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57fa",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 254.356,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.22981,
    "h": 288.3
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#7E57FA
secondary
#E4F1BC
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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