#7B58E4#7B58E4

#7B58E4 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.2% C 0.202 H 290.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7B58E4
RGBrgb(123, 88, 228)
HSLhsl(255, 72%, 62%)
HSVhsv(255, 61%, 89%)
CMYKcmyk(46.1%, 61.4%, 0%, 10.6%)
CIE-LABlab(48.00, 47.30, -66.51)
CIE-LCHlch(48.00, 81.61, 305.42°)
OKLaboklab(57.18% 0.0692 -0.1902)
OKLCHoklch(57.18% 0.202 290)
XYZxyz(25.6577, 16.7909, 75.2728)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58E4 #C1E458
analogous
#587BE4 #7B58E4 #C158E4
triadic
#7B58E4 #E47B58 #58E47B
tetradic
#7B58E4 #E4587B #C1E458 #58E4C1
square
#7B58E4 #E4587B #C1E458 #58E4C1
split-complementary
#7B58E4 #E4C158 #7BE458
monochromatic
#3E1BA7 #5123DB #7B58E4 #A58DED #CEC1F5

Accessibility & contrast

On white

4.82
#7B58E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7B58E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58E4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58E4#FFFFFF#000000##FFFFFF
##7B58E41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#5A7996
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b58e4;
/* rgb */ color: rgb(123, 88, 228);
/* oklch */ color: oklch(57.2% 0.202 290.0);
Tailwind
colors: {
  custom: {
    50: '#a889ed',
    500: '#7b58e4',
    950: '#000000',
  },
}
SCSS
$custom: #7b58e4;
$custom-light: #a889ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58e4",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 255,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.20235,
    "h": 290
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#7B58E4
secondary
#D9E6B2
accent
#D411A3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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