#7B58F0#7B58F0

#7B58F0 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.217 H 288.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7B58F0
RGBrgb(123, 88, 240)
HSLhsl(254, 84%, 64%)
HSVhsv(254, 63%, 94%)
CMYKcmyk(48.7%, 63.3%, 0%, 5.9%)
CIE-LABlab(48.86, 50.66, -71.86)
CIE-LCHlch(48.86, 87.92, 305.18°)
OKLaboklab(58.08% 0.0682 -0.2059)
OKLCHoklch(58.08% 0.217 288.3)
XYZxyz(27.3817, 17.4805, 84.3525)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58F0 #CDF058
analogous
#5881F0 #7B58F0 #C758F0
triadic
#7B58F0 #F07B58 #58F07B
tetradic
#7B58F0 #F05881 #CDF058 #58F0C7
square
#7B58F0 #F05881 #CDF058 #58F0C7
split-complementary
#7B58F0 #F0C758 #81F058
monochromatic
#3811BD #4F20EB #7B58F0 #A790F5 #D4C8FA

Accessibility & contrast

On white

4.67
#7B58F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7B58F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58F0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58F0#FFFFFF#000000##FFFFFF
##7B58F01.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#527D9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b58f0;
/* rgb */ color: rgb(123, 88, 240);
/* oklch */ color: oklch(58.1% 0.217 288.3);
Tailwind
colors: {
  custom: {
    50: '#aa89f6',
    500: '#7b58f0',
    950: '#000000',
  },
}
SCSS
$custom: #7b58f0;
$custom-light: #aa89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58f0",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 253.816,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.21689,
    "h": 288.3
  },
  "luminance": 0.17482
}

Semantic roles & 50–950 ramp

primary
#7B58F0
secondary
#E0ECB8
accent
#E006AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58F0

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

Preview Lab → · Contrast checker → · Palette generator →

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