#7F57EE#7F57EE

#7F57EE is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.216 H 290.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7F57EE
RGBrgb(127, 87, 238)
HSLhsl(256, 82%, 64%)
HSVhsv(256, 63%, 93%)
CMYKcmyk(46.6%, 63.4%, 0%, 6.7%)
CIE-LABlab(48.88, 51.38, -70.68)
CIE-LCHlch(48.88, 87.38, 306.02°)
OKLaboklab(58.14% 0.0746 -0.2023)
OKLCHoklch(58.14% 0.216 290.3)
XYZxyz(27.5888, 17.5004, 82.7966)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F57EE #C6EE57
analogous
#577AEE #7F57EE #CA57EE
triadic
#7F57EE #EE7F57 #57EE7F
tetradic
#7F57EE #EE577A #C6EE57 #57EECA
square
#7F57EE #EE577A #C6EE57 #57EECA
split-complementary
#7F57EE #EECA57 #7AEE57
monochromatic
#3E13B8 #551FE8 #7F57EE #A98FF4 #D4C6F9

Accessibility & contrast

On white

4.67
#7F57EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7F57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F57EE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F57EE#FFFFFF#000000##FFFFFF
##7F57EE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#5C7B9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f57ee;
/* rgb */ color: rgb(127, 87, 238);
/* oklch */ color: oklch(58.1% 0.216 290.3);
Tailwind
colors: {
  custom: {
    50: '#ac88f5',
    500: '#7f57ee',
    950: '#000000',
  },
}
SCSS
$custom: #7f57ee;
$custom-light: #ac88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f57ee",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 255.894,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.21562,
    "h": 290.3
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#7F57EE
secondary
#DDEBB6
accent
#DE08A5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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