#7B58BD#7B58BD

#7B58BD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.153 H 297.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7B58BD
RGBrgb(123, 88, 189)
HSLhsl(261, 43%, 54%)
HSVhsv(261, 53%, 74%)
CMYKcmyk(34.9%, 53.4%, 0%, 25.9%)
CIE-LABlab(45.45, 36.65, -48.26)
CIE-LCHlch(45.45, 60.60, 307.21°)
OKLaboklab(54.49% 0.0696 -0.1365)
OKLCHoklch(54.49% 0.153 297)
XYZxyz(20.8411, 14.8642, 49.9053)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58BD #9ABD58
analogous
#5868BD #7B58BD #AE58BD
triadic
#7B58BD #BD7B58 #58BD7B
tetradic
#7B58BD #BD5868 #9ABD58 #58BDAE
square
#7B58BD #BD5868 #9ABD58 #58BDAE
split-complementary
#7B58BD #BDAE58 #68BD58
monochromatic
#432C6F #5E3D9B #7B58BD #9E84CE #C0B0E0

Accessibility & contrast

On white

5.29
#7B58BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7B58BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58BD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58BD#FFFFFF#000000##FFFFFF
##7B58BD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC0
Deuteranopia (green-blind)
#396ABB
Tritanopia (blue-blind)
#6C6C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b58bd;
/* rgb */ color: rgb(123, 88, 189);
/* oklch */ color: oklch(54.5% 0.153 297.0);
Tailwind
colors: {
  custom: {
    50: '#a588d1',
    500: '#7b58bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b58bd;
$custom-light: #a588d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58bd",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 260.792,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.15324,
    "h": 297
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#7B58BD
secondary
#BFCEA3
accent
#D355A7
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7B58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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