#7F58EF#7F58EF

#7F58EF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.216 H 289.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7F58EF
RGBrgb(127, 88, 239)
HSLhsl(255, 83%, 64%)
HSVhsv(255, 63%, 94%)
CMYKcmyk(46.9%, 63.2%, 0%, 6.3%)
CIE-LABlab(49.16, 51.12, -70.80)
CIE-LCHlch(49.16, 87.32, 305.83°)
OKLaboklab(58.36% 0.0735 -0.2026)
OKLCHoklch(58.36% 0.216 289.9)
XYZxyz(27.8177, 17.7224, 83.5997)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58EF #C8EF58
analogous
#587DEF #7F58EF #CB58EF
triadic
#7F58EF #EF7F58 #58EF7F
tetradic
#7F58EF #EF587D #C8EF58 #58EFCB
square
#7F58EF #EF587D #C8EF58 #58EFCB
split-complementary
#7F58EF #EFCB58 #7DEF58
monochromatic
#3D12BB #5420EA #7F58EF #AA90F4 #D5C8FA

Accessibility & contrast

On white

4.62
#7F58EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7F58EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F58EF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58EF#FFFFFF#000000##FFFFFF
##7F58EF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#5B7C9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f58ef;
/* rgb */ color: rgb(127, 88, 239);
/* oklch */ color: oklch(58.4% 0.216 289.9);
Tailwind
colors: {
  custom: {
    50: '#ac89f5',
    500: '#7f58ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f58ef;
$custom-light: #ac89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58ef",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 255.497,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.21557,
    "h": 289.9
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#7F58EF
secondary
#DEECB7
accent
#DF07A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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