#7B58F2#7B58F2

#7B58F2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.219 H 288.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7B58F2
RGBrgb(123, 88, 242)
HSLhsl(254, 86%, 65%)
HSVhsv(254, 64%, 95%)
CMYKcmyk(49.2%, 63.6%, 0%, 5.1%)
CIE-LABlab(49.01, 51.22, -72.74)
CIE-LCHlch(49.01, 88.96, 305.15°)
OKLaboklab(58.23% 0.068 -0.2085)
OKLCHoklch(58.23% 0.219 288.1)
XYZxyz(27.6804, 17.6000, 85.9258)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58F2 #CFF258
analogous
#5882F2 #7B58F2 #C858F2
triadic
#7B58F2 #F27B58 #58F27B
tetradic
#7B58F2 #F25882 #CFF258 #58F2C8
square
#7B58F2 #F25882 #CFF258 #58F2C8
split-complementary
#7B58F2 #F2C858 #82F258
monochromatic
#370FC1 #4E1FEE #7B58F2 #A891F6 #D5CAFB

Accessibility & contrast

On white

4.65
#7B58F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7B58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58F2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58F2#FFFFFF#000000##FFFFFF
##7B58F21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#517D9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b58f2;
/* rgb */ color: rgb(123, 88, 242);
/* oklch */ color: oklch(58.2% 0.219 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa89f7',
    500: '#7b58f2',
    950: '#000000',
  },
}
SCSS
$custom: #7b58f2;
$custom-light: #aa89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58f2",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 253.636,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.21928,
    "h": 288.1
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#7B58F2
secondary
#E1EDB8
accent
#E203AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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