#7F58E4#7F58E4

#7F58E4 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.202 H 291.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7F58E4
RGBrgb(127, 88, 228)
HSLhsl(257, 72%, 62%)
HSVhsv(257, 61%, 89%)
CMYKcmyk(44.3%, 61.4%, 0%, 10.6%)
CIE-LABlab(48.38, 48.10, -65.87)
CIE-LCHlch(48.38, 81.56, 306.13°)
OKLaboklab(57.55% 0.0744 -0.1882)
OKLCHoklch(57.55% 0.202 291.6)
XYZxyz(26.2418, 17.0921, 75.3002)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58E4 #BDE458
analogous
#5877E4 #7F58E4 #C558E4
triadic
#7F58E4 #E47F58 #58E47F
tetradic
#7F58E4 #E45877 #BDE458 #58E4C5
square
#7F58E4 #E45877 #BDE458 #58E4C5
split-complementary
#7F58E4 #E4C558 #77E458
monochromatic
#421BA7 #5723DB #7F58E4 #A78DED #D0C1F5

Accessibility & contrast

On white

4.75
#7F58E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7F58E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F58E4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58E4#FFFFFF#000000##FFFFFF
##7F58E41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#617896
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f58e4;
/* rgb */ color: rgb(127, 88, 228);
/* oklch */ color: oklch(57.5% 0.202 291.6);
Tailwind
colors: {
  custom: {
    50: '#ab89ed',
    500: '#7f58e4',
    950: '#000000',
  },
}
SCSS
$custom: #7f58e4;
$custom-light: #ab89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58e4",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 256.714,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.20235,
    "h": 291.6
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#7F58E4
secondary
#D7E6B2
accent
#D4119E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7F58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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