#7B58ED#7B58ED

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

Color values

HEX#7B58ED
RGBrgb(123, 88, 237)
HSLhsl(254, 81%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(48.1%, 62.9%, 0%, 7.1%)
CIE-LABlab(48.64, 49.82, -70.53)
CIE-LCHlch(48.64, 86.35, 305.23°)
OKLaboklab(57.85% 0.0685 -0.202)
OKLCHoklch(57.85% 0.213 288.7)
XYZxyz(26.9398, 17.3037, 82.0248)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58ED #CAED58
analogous
#587FED #7B58ED #C558ED
triadic
#7B58ED #ED7B58 #58ED7B
tetradic
#7B58ED #ED587F #CAED58 #58EDC5
square
#7B58ED #ED587F #CAED58 #58EDC5
split-complementary
#7B58ED #EDC558 #7FED58
monochromatic
#3A14B7 #4F21E7 #7B58ED #A78FF3 #D2C6F9

Accessibility & contrast

On white

4.71
#7B58ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7B58ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58ED
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58ED#FFFFFF#000000##FFFFFF
##7B58ED1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#557C9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b58ed;
/* rgb */ color: rgb(123, 88, 237);
/* oklch */ color: oklch(57.9% 0.213 288.7);
Tailwind
colors: {
  custom: {
    50: '#aa89f4',
    500: '#7b58ed',
    950: '#000000',
  },
}
SCSS
$custom: #7b58ed;
$custom-light: #aa89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58ed",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 254.094,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.21327,
    "h": 288.7
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#7B58ED
secondary
#DEEBB6
accent
#DD09AB
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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