#7B58CD#7B58CD

#7B58CD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.174 H 293.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7B58CD
RGBrgb(123, 88, 205)
HSLhsl(258, 54%, 57%)
HSVhsv(258, 57%, 80%)
CMYKcmyk(40%, 57.1%, 0%, 19.6%)
CIE-LABlab(46.44, 40.95, -55.91)
CIE-LCHlch(46.44, 69.30, 306.22°)
OKLaboklab(55.55% 0.07 -0.159)
OKLCHoklch(55.55% 0.174 293.8)
XYZxyz(22.6746, 15.5976, 59.5618)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58CD #AACD58
analogous
#586FCD #7B58CD #B658CD
triadic
#7B58CD #CD7B58 #58CD7B
tetradic
#7B58CD #CD586F #AACD58 #58CDB6
square
#7B58CD #CD586F #AACD58 #58CDB6
split-complementary
#7B58CD #CDB658 #6FCD58
monochromatic
#432783 #5B35B2 #7B58CD #A087DB #C5B6E9

Accessibility & contrast

On white

5.10
#7B58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7B58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58CD#FFFFFF#000000##FFFFFF
##7B58CD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#66718A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b58cd;
/* rgb */ color: rgb(123, 88, 205);
/* oklch */ color: oklch(55.5% 0.174 293.8);
Tailwind
colors: {
  custom: {
    50: '#a688dd',
    500: '#7b58cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b58cd;
$custom-light: #a688dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58cd",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 257.949,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.17371,
    "h": 293.8
  },
  "luminance": 0.15598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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