#7B58EB#7B58EB

#7B58EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.211 H 289.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7B58EB
RGBrgb(123, 88, 235)
HSLhsl(254, 79%, 63%)
HSVhsv(254, 63%, 92%)
CMYKcmyk(47.7%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.50, 49.26, -69.64)
CIE-LCHlch(48.50, 85.30, 305.27°)
OKLaboklab(57.7% 0.0687 -0.1994)
OKLCHoklch(57.7% 0.211 289)
XYZxyz(26.6492, 17.1875, 80.4945)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58EB #C8EB58
analogous
#587EEB #7B58EB #C558EB
triadic
#7B58EB #EB7B58 #58EB7B
tetradic
#7B58EB #EB587E #C8EB58 #58EBC5
square
#7B58EB #EB587E #C8EB58 #58EBC5
split-complementary
#7B58EB #EBC558 #7EEB58
monochromatic
#3B15B3 #5021E4 #7B58EB #A68FF2 #D1C5F8

Accessibility & contrast

On white

4.73
#7B58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7B58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58EB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58EB#FFFFFF#000000##FFFFFF
##7B58EB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#567B9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b58eb;
/* rgb */ color: rgb(123, 88, 235);
/* oklch */ color: oklch(57.7% 0.211 289.0);
Tailwind
colors: {
  custom: {
    50: '#a989f2',
    500: '#7b58eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b58eb;
$custom-light: #a989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58eb",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 254.286,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.21086,
    "h": 289
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#7B58EB
secondary
#DDEAB5
accent
#DB0BA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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