#7B58E7#7B58E7

#7B58E7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.206 H 289.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7B58E7
RGBrgb(123, 88, 231)
HSLhsl(255, 75%, 63%)
HSVhsv(255, 62%, 91%)
CMYKcmyk(46.8%, 61.9%, 0%, 9.4%)
CIE-LABlab(48.21, 48.14, -67.86)
CIE-LCHlch(48.21, 83.20, 305.35°)
OKLaboklab(57.4% 0.069 -0.1941)
OKLCHoklch(57.4% 0.206 289.6)
XYZxyz(26.0778, 16.9589, 77.4852)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58E7 #C4E758
analogous
#587DE7 #7B58E7 #C258E7
triadic
#7B58E7 #E77B58 #58E77B
tetradic
#7B58E7 #E7587D #C4E758 #58E7C2
square
#7B58E7 #E7587D #C4E758 #58E7C2
split-complementary
#7B58E7 #E7C258 #7DE758
monochromatic
#3D19AC #5122DF #7B58E7 #A58EEF #D0C3F6

Accessibility & contrast

On white

4.78
#7B58E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7B58E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58E7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58E7#FFFFFF#000000##FFFFFF
##7B58E71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#587A97
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b58e7;
/* rgb */ color: rgb(123, 88, 231);
/* oklch */ color: oklch(57.4% 0.206 289.6);
Tailwind
colors: {
  custom: {
    50: '#a989f0',
    500: '#7b58e7',
    950: '#000000',
  },
}
SCSS
$custom: #7b58e7;
$custom-light: #a989f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58e7",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 254.685,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.574,
    "c": 0.20601,
    "h": 289.6
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#7B58E7
secondary
#DBE7B3
accent
#D70EA6
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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