#7F58EA#7F58EA

#7F58EA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.210 H 290.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7F58EA
RGBrgb(127, 88, 234)
HSLhsl(256, 78%, 63%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(45.7%, 62.4%, 0%, 8.2%)
CIE-LABlab(48.80, 49.74, -68.57)
CIE-LCHlch(48.80, 84.71, 305.96°)
OKLaboklab(57.99% 0.074 -0.1961)
OKLCHoklch(57.99% 0.21 290.7)
XYZxyz(27.0892, 17.4310, 79.7632)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58EA #C3EA58
analogous
#587AEA #7F58EA #C858EA
triadic
#7F58EA #EA7F58 #58EA7F
tetradic
#7F58EA #EA587A #C3EA58 #58EAC8
square
#7F58EA #EA587A #C3EA58 #58EAC8
split-complementary
#7F58EA #EAC858 #7AEA58
monochromatic
#4016B1 #5522E3 #7F58EA #A98EF1 #D2C5F8

Accessibility & contrast

On white

4.68
#7F58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7F58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F58EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58EA#FFFFFF#000000##FFFFFF
##7F58EA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#5E7A99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f58ea;
/* rgb */ color: rgb(127, 88, 234);
/* oklch */ color: oklch(58.0% 0.210 290.7);
Tailwind
colors: {
  custom: {
    50: '#ac89f2',
    500: '#7f58ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f58ea;
$custom-light: #ac89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58ea",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 256.027,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.20958,
    "h": 290.7
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#7F58EA
secondary
#DBE9B5
accent
#DA0CA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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