#7B58F7#7B58F7

#7B58F7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.225 H 287.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7B58F7
RGBrgb(123, 88, 247)
HSLhsl(253, 91%, 66%)
HSVhsv(253, 64%, 97%)
CMYKcmyk(50.2%, 64.4%, 0%, 3.1%)
CIE-LABlab(49.38, 52.62, -74.93)
CIE-LCHlch(49.38, 91.56, 305.08°)
OKLaboklab(58.62% 0.0675 -0.2149)
OKLCHoklch(58.62% 0.225 287.4)
XYZxyz(28.4417, 17.9045, 89.9349)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58F7 #D4F758
analogous
#5884F7 #7B58F7 #CB58F7
triadic
#7B58F7 #F77B58 #58F77B
tetradic
#7B58F7 #F75884 #D4F758 #58F7CB
square
#7B58F7 #F75884 #D4F758 #58F7CB
split-complementary
#7B58F7 #F7CB58 #84F758
monochromatic
#340ACB #4D1EF4 #7B58F7 #A992FA #D7CDFD

Accessibility & contrast

On white

4.58
#7B58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7B58F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B58F7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58F7#FFFFFF#000000##000000
##7B58F71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0071F4
Tritanopia (blue-blind)
#4D7FA0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b58f7;
/* rgb */ color: rgb(123, 88, 247);
/* oklch */ color: oklch(58.6% 0.225 287.4);
Tailwind
colors: {
  custom: {
    50: '#ab89fb',
    500: '#7b58f7',
    950: '#000000',
  },
}
SCSS
$custom: #7b58f7;
$custom-light: #ab89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58f7",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 253.208,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.22525,
    "h": 287.4
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#7B58F7
secondary
#E4F0BB
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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