#7B58CC#7B58CC

#7B58CC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.172 H 294.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7B58CC
RGBrgb(123, 88, 204)
HSLhsl(258, 53%, 57%)
HSVhsv(258, 57%, 80%)
CMYKcmyk(39.7%, 56.9%, 0%, 20%)
CIE-LABlab(46.38, 40.68, -55.44)
CIE-LCHlch(46.38, 68.76, 306.27°)
OKLaboklab(55.48% 0.07 -0.1576)
OKLCHoklch(55.48% 0.172 294)
XYZxyz(22.5543, 15.5495, 58.9281)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58CC #A9CC58
analogous
#586FCC #7B58CC #B558CC
triadic
#7B58CC #CC7B58 #58CC7B
tetradic
#7B58CC #CC586F #A9CC58 #58CCB5
square
#7B58CC #CC586F #A9CC58 #58CCB5
split-complementary
#7B58CC #CCB558 #6FCC58
monochromatic
#432882 #5B36B1 #7B58CC #A087DA #C5B6E9

Accessibility & contrast

On white

5.11
#7B58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7B58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58CC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58CC#FFFFFF#000000##FFFFFF
##7B58CC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#266CC9
Tritanopia (blue-blind)
#667189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b58cc;
/* rgb */ color: rgb(123, 88, 204);
/* oklch */ color: oklch(55.5% 0.172 294.0);
Tailwind
colors: {
  custom: {
    50: '#a688dc',
    500: '#7b58cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b58cc;
$custom-light: #a688dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58cc",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 258.103,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5548,
    "c": 0.17245,
    "h": 294
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#7B58CC
secondary
#C9D7A8
accent
#DD4BB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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