#7F58EB#7F58EB

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

Color values

HEX#7F58EB
RGBrgb(127, 88, 235)
HSLhsl(256, 79%, 63%)
HSVhsv(256, 63%, 92%)
CMYKcmyk(46%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.87, 50.02, -69.02)
CIE-LCHlch(48.87, 85.24, 305.93°)
OKLaboklab(58.06% 0.0739 -0.1974)
OKLCHoklch(58.06% 0.211 290.5)
XYZxyz(27.2333, 17.4886, 80.5219)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58EB #C4EB58
analogous
#587AEB #7F58EB #C858EB
triadic
#7F58EB #EB7F58 #58EB7F
tetradic
#7F58EB #EB587A #C4EB58 #58EBC8
square
#7F58EB #EB587A #C4EB58 #58EBC8
split-complementary
#7F58EB #EBC858 #7AEB58
monochromatic
#3F15B3 #5521E4 #7F58EB #A98FF2 #D3C5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F58EB#FFFFFF#000000##FFFFFF
##7F58EB1.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)
#0077F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#5D7B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f58eb;
/* rgb */ color: rgb(127, 88, 235);
/* oklch */ color: oklch(58.1% 0.211 290.5);
Tailwind
colors: {
  custom: {
    50: '#ac89f2',
    500: '#7f58eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f58eb;
$custom-light: #ac89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58eb",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 255.918,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5806,
    "c": 0.21079,
    "h": 290.5
  },
  "luminance": 0.1749
}

Semantic roles & 50–950 ramp

primary
#7F58EB
secondary
#DCEAB5
accent
#DB0BA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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