#7A58EF#7A58EF

#7A58EF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.216 H 288.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7A58EF
RGBrgb(122, 88, 239)
HSLhsl(254, 83%, 64%)
HSVhsv(254, 63%, 94%)
CMYKcmyk(49%, 63.2%, 0%, 6.3%)
CIE-LABlab(48.70, 50.19, -71.57)
CIE-LCHlch(48.70, 87.42, 305.04°)
OKLaboklab(57.91% 0.067 -0.2051)
OKLCHoklch(57.91% 0.216 288.1)
XYZxyz(27.0912, 17.3478, 83.5656)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58EF #CDEF58
analogous
#5882EF #7A58EF #C658EF
triadic
#7A58EF #EF7A58 #58EF7A
tetradic
#7A58EF #EF5882 #CDEF58 #58EFC6
square
#7A58EF #EF5882 #CDEF58 #58EFC6
split-complementary
#7A58EF #EFC658 #82EF58
monochromatic
#3812BB #4E20EA #7A58EF #A690F4 #D3C8FA

Accessibility & contrast

On white

4.70
#7A58EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7A58EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58EF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58EF#FFFFFF#000000##FFFFFF
##7A58EF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#517C9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a58ef;
/* rgb */ color: rgb(122, 88, 239);
/* oklch */ color: oklch(57.9% 0.216 288.1);
Tailwind
colors: {
  custom: {
    50: '#a989f5',
    500: '#7a58ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a58ef;
$custom-light: #a989f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58ef",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 253.51,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.21573,
    "h": 288.1
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#7A58EF
secondary
#E0ECB7
accent
#DF07AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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