#7F57EC#7F57EC

#7F57EC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.213 H 290.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7F57EC
RGBrgb(127, 87, 236)
HSLhsl(256, 80%, 63%)
HSVhsv(256, 63%, 93%)
CMYKcmyk(46.2%, 63.1%, 0%, 7.5%)
CIE-LABlab(48.74, 50.83, -69.79)
CIE-LCHlch(48.74, 86.34, 306.07°)
OKLaboklab(57.99% 0.0748 -0.1997)
OKLCHoklch(57.99% 0.213 290.5)
XYZxyz(27.2966, 17.3835, 81.2577)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F57EC #C4EC57
analogous
#5779EC #7F57EC #C957EC
triadic
#7F57EC #EC7F57 #57EC7F
tetradic
#7F57EC #EC5779 #C4EC57 #57ECC9
square
#7F57EC #EC5779 #C4EC57 #57ECC9
split-complementary
#7F57EC #ECC957 #79EC57
monochromatic
#3F14B4 #5520E6 #7F57EC #A98EF2 #D3C5F8

Accessibility & contrast

On white

4.69
#7F57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7F57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F57EC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F57EC#FFFFFF#000000##FFFFFF
##7F57EC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#5D7A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f57ec;
/* rgb */ color: rgb(127, 87, 236);
/* oklch */ color: oklch(58.0% 0.213 290.5);
Tailwind
colors: {
  custom: {
    50: '#ac88f3',
    500: '#7f57ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f57ec;
$custom-light: #ac88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f57ec",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 256.107,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.21324,
    "h": 290.5
  },
  "luminance": 0.17385
}

Semantic roles & 50–950 ramp

primary
#7F57EC
secondary
#DCEAB5
accent
#DC0AA3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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