#7F58EE#7F58EE

#7F58EE is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.214 H 290.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7F58EE
RGBrgb(127, 88, 238)
HSLhsl(256, 82%, 64%)
HSVhsv(256, 63%, 93%)
CMYKcmyk(46.6%, 63%, 0%, 6.7%)
CIE-LABlab(49.09, 50.84, -70.35)
CIE-LCHlch(49.09, 86.80, 305.85°)
OKLaboklab(58.29% 0.0736 -0.2013)
OKLCHoklch(58.29% 0.214 290.1)
XYZxyz(27.6704, 17.6635, 82.8238)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58EE #C7EE58
analogous
#587CEE #7F58EE #CA58EE
triadic
#7F58EE #EE7F58 #58EE7F
tetradic
#7F58EE #EE587C #C7EE58 #58EECA
square
#7F58EE #EE587C #C7EE58 #58EECA
split-complementary
#7F58EE #EECA58 #7CEE58
monochromatic
#3E13B9 #5420E8 #7F58EE #AA90F4 #D4C7F9

Accessibility & contrast

On white

4.63
#7F58EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7F58EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F58EE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58EE#FFFFFF#000000##FFFFFF
##7F58EE1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f58ee;
/* rgb */ color: rgb(127, 88, 238);
/* oklch */ color: oklch(58.3% 0.214 290.1);
Tailwind
colors: {
  custom: {
    50: '#ac89f4',
    500: '#7f58ee',
    950: '#000000',
  },
}
SCSS
$custom: #7f58ee;
$custom-light: #ac89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58ee",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 255.6,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.21438,
    "h": 290.1
  },
  "luminance": 0.17665
}

Semantic roles & 50–950 ramp

primary
#7F58EE
secondary
#DEEBB7
accent
#DE08A6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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