#7B58EE#7B58EE

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

Color values

HEX#7B58EE
RGBrgb(123, 88, 238)
HSLhsl(254, 82%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(48.3%, 63%, 0%, 6.7%)
CIE-LABlab(48.71, 50.10, -70.97)
CIE-LCHlch(48.71, 86.87, 305.22°)
OKLaboklab(57.93% 0.0684 -0.2033)
OKLCHoklch(57.93% 0.214 288.6)
XYZxyz(27.0863, 17.3623, 82.7964)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58EE #CBEE58
analogous
#5880EE #7B58EE #C658EE
triadic
#7B58EE #EE7B58 #58EE7B
tetradic
#7B58EE #EE5880 #CBEE58 #58EEC6
square
#7B58EE #EE5880 #CBEE58 #58EEC6
split-complementary
#7B58EE #EEC658 #80EE58
monochromatic
#3A13B9 #4F20E8 #7B58EE #A790F4 #D3C7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B58EE#FFFFFF#000000##FFFFFF
##7B58EE1.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)
#0077F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#547C9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b58ee;
/* rgb */ color: rgb(123, 88, 238);
/* oklch */ color: oklch(57.9% 0.214 288.6);
Tailwind
colors: {
  custom: {
    50: '#aa89f5',
    500: '#7b58ee',
    950: '#000000',
  },
}
SCSS
$custom: #7b58ee;
$custom-light: #aa89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58ee",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 254,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.21449,
    "h": 288.6
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#7B58EE
secondary
#DFEBB7
accent
#DE08AC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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