#7F57EF#7F57EF

#7F57EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.217 H 290.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F57EF
RGBrgb(127, 87, 239)
HSLhsl(256, 83%, 64%)
HSVhsv(256, 64%, 94%)
CMYKcmyk(46.9%, 63.6%, 0%, 6.3%)
CIE-LABlab(48.96, 51.66, -71.12)
CIE-LCHlch(48.96, 87.90, 305.99°)
OKLaboklab(58.21% 0.0745 -0.2036)
OKLCHoklch(58.21% 0.217 290.1)
XYZxyz(27.7362, 17.5593, 83.5725)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F57EF #C7EF57
analogous
#577BEF #7F57EF #CB57EF
triadic
#7F57EF #EF7F57 #57EF7F
tetradic
#7F57EF #EF577B #C7EF57 #57EFCB
square
#7F57EF #EF577B #C7EF57 #57EFCB
split-complementary
#7F57EF #EFCB57 #7BEF57
monochromatic
#3E12BA #541FEA #7F57EF #AA8FF4 #D4C7FA

Accessibility & contrast

On white

4.65
#7F57EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7F57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F57EF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F57EF#FFFFFF#000000##FFFFFF
##7F57EF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#5B7B9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f57ef;
/* rgb */ color: rgb(127, 87, 239);
/* oklch */ color: oklch(58.2% 0.217 290.1);
Tailwind
colors: {
  custom: {
    50: '#ac88f5',
    500: '#7f57ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f57ef;
$custom-light: #ac88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f57ef",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 255.789,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.21682,
    "h": 290.1
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#7F57EF
secondary
#DEECB6
accent
#DF06A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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