#7A58CB#7A58CB

#7A58CB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.3% C 0.171 H 293.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A58CB
RGBrgb(122, 88, 203)
HSLhsl(258, 53%, 57%)
HSVhsv(258, 57%, 80%)
CMYKcmyk(39.9%, 56.7%, 0%, 20.4%)
CIE-LABlab(46.22, 40.18, -55.13)
CIE-LCHlch(46.22, 68.22, 306.09°)
OKLaboklab(55.32% 0.0687 -0.1567)
OKLCHoklch(55.32% 0.171 293.7)
XYZxyz(22.2924, 15.4283, 58.2918)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58CB #A9CB58
analogous
#5870CB #7A58CB #B358CB
triadic
#7A58CB #CB7A58 #58CB7A
tetradic
#7A58CB #CB5870 #A9CB58 #58CBB3
square
#7A58CB #CB5870 #A9CB58 #58CBB3
split-complementary
#7A58CB #CBB358 #70CB58
monochromatic
#422881 #5A37AF #7A58CB #9F87DA #C4B5E8

Accessibility & contrast

On white

5.14
#7A58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A58CB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58CB#FFFFFF#000000##FFFFFF
##7A58CB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#657189
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a58cb;
/* rgb */ color: rgb(122, 88, 203);
/* oklch */ color: oklch(55.3% 0.171 293.7);
Tailwind
colors: {
  custom: {
    50: '#a588db',
    500: '#7a58cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a58cb;
$custom-light: #a588db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58cb",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 257.739,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.17112,
    "h": 293.7
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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