#7B58EF#7B58EF

#7B58EF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.216 H 288.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B58EF
RGBrgb(123, 88, 239)
HSLhsl(254, 83%, 64%)
HSVhsv(254, 63%, 94%)
CMYKcmyk(48.5%, 63.2%, 0%, 6.3%)
CIE-LABlab(48.79, 50.38, -71.42)
CIE-LCHlch(48.79, 87.40, 305.20°)
OKLaboklab(58% 0.0683 -0.2046)
OKLCHoklch(58% 0.216 288.5)
XYZxyz(27.2336, 17.4212, 83.5723)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58EF #CCEF58
analogous
#5881EF #7B58EF #C658EF
triadic
#7B58EF #EF7B58 #58EF7B
tetradic
#7B58EF #EF5881 #CCEF58 #58EFC6
square
#7B58EF #EF5881 #CCEF58 #58EFC6
split-complementary
#7B58EF #EFC658 #81EF58
monochromatic
#3912BB #4F20EA #7B58EF #A790F4 #D3C8FA

Accessibility & contrast

On white

4.68
#7B58EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7B58EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58EF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58EF#FFFFFF#000000##FFFFFF
##7B58EF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#537C9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b58ef;
/* rgb */ color: rgb(123, 88, 239);
/* oklch */ color: oklch(58.0% 0.216 288.5);
Tailwind
colors: {
  custom: {
    50: '#aa89f5',
    500: '#7b58ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b58ef;
$custom-light: #aa89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58ef",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 253.907,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.21569,
    "h": 288.5
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#7B58EF
secondary
#E0ECB7
accent
#DF07AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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