#7B58EC#7B58EC

#7B58EC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.212 H 288.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B58EC
RGBrgb(123, 88, 236)
HSLhsl(254, 80%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(47.9%, 62.7%, 0%, 7.5%)
CIE-LABlab(48.57, 49.54, -70.09)
CIE-LCHlch(48.57, 85.83, 305.25°)
OKLaboklab(57.78% 0.0686 -0.2007)
OKLCHoklch(57.78% 0.212 288.9)
XYZxyz(26.7941, 17.2454, 81.2575)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58EC #C9EC58
analogous
#587FEC #7B58EC #C558EC
triadic
#7B58EC #EC7B58 #58EC7B
tetradic
#7B58EC #EC587F #C9EC58 #58ECC5
square
#7B58EC #EC587F #C9EC58 #58ECC5
split-complementary
#7B58EC #ECC558 #7FEC58
monochromatic
#3B15B5 #5021E6 #7B58EC #A68FF2 #D2C6F9

Accessibility & contrast

On white

4.72
#7B58EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7B58EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58EC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58EC#FFFFFF#000000##FFFFFF
##7B58EC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#557B9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b58ec;
/* rgb */ color: rgb(123, 88, 236);
/* oklch */ color: oklch(57.8% 0.212 288.9);
Tailwind
colors: {
  custom: {
    50: '#a989f3',
    500: '#7b58ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b58ec;
$custom-light: #a989f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58ec",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 254.189,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.21207,
    "h": 288.9
  },
  "luminance": 0.17247
}

Semantic roles & 50–950 ramp

primary
#7B58EC
secondary
#DEEAB6
accent
#DC0AAA
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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