#7B58DC#7B58DC

#7B58DC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.193 H 291.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7B58DC
RGBrgb(123, 88, 220)
HSLhsl(256, 65%, 60%)
HSVhsv(256, 60%, 86%)
CMYKcmyk(44.1%, 60%, 0%, 13.7%)
CIE-LABlab(47.44, 45.08, -62.87)
CIE-LCHlch(47.44, 77.36, 305.64°)
OKLaboklab(56.6% 0.0697 -0.1795)
OKLCHoklch(56.6% 0.193 291.2)
XYZxyz(24.5728, 16.3569, 69.5588)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58DC #B9DC58
analogous
#5877DC #7B58DC #BD58DC
triadic
#7B58DC #DC7B58 #58DC7B
tetradic
#7B58DC #DC5877 #B9DC58 #58DCBD
square
#7B58DC #DC5877 #B9DC58 #58DCBD
split-complementary
#7B58DC #DCBD58 #77DC58
monochromatic
#402099 #562BCC #7B58DC #A38BE7 #CBBDF1

Accessibility & contrast

On white

4.92
#7B58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7B58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58DC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58DC#FFFFFF#000000##FFFFFF
##7B58DC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#5F7692
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b58dc;
/* rgb */ color: rgb(123, 88, 220);
/* oklch */ color: oklch(56.6% 0.193 291.2);
Tailwind
colors: {
  custom: {
    50: '#a889e8',
    500: '#7b58dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b58dc;
$custom-light: #a889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58dc",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 255.909,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.1925,
    "h": 291.2
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#7B58DC
secondary
#D4E1AF
accent
#CD189D
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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