#7B58CA#7B58CA

#7B58CA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.3% C 0.170 H 294.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7B58CA
RGBrgb(123, 88, 202)
HSLhsl(258, 52%, 57%)
HSVhsv(258, 56%, 79%)
CMYKcmyk(39.1%, 56.4%, 0%, 20.8%)
CIE-LABlab(46.25, 40.14, -54.49)
CIE-LCHlch(46.25, 67.68, 306.37°)
OKLaboklab(55.35% 0.07 -0.1548)
OKLCHoklch(55.35% 0.17 294.3)
XYZxyz(22.3160, 15.4542, 57.6729)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58CA #A7CA58
analogous
#586ECA #7B58CA #B458CA
triadic
#7B58CA #CA7B58 #58CA7B
tetradic
#7B58CA #CA586E #A7CA58 #58CAB4
square
#7B58CA #CA586E #A7CA58 #58CAB4
split-complementary
#7B58CA #CAB458 #6ECA58
monochromatic
#43287F #5C37AE #7B58CA #A086D9 #C4B5E7

Accessibility & contrast

On white

5.13
#7B58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7B58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58CA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58CA#FFFFFF#000000##FFFFFF
##7B58CA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#296CC7
Tritanopia (blue-blind)
#677088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b58ca;
/* rgb */ color: rgb(123, 88, 202);
/* oklch */ color: oklch(55.3% 0.170 294.3);
Tailwind
colors: {
  custom: {
    50: '#a688db',
    500: '#7b58ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b58ca;
$custom-light: #a688db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58ca",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 258.421,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55345,
    "c": 0.16991,
    "h": 294.3
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#7B58CA
secondary
#C8D6A8
accent
#DB4DAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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