#7D58CB#7D58CB

#7D58CB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.171 H 295.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7D58CB
RGBrgb(125, 88, 203)
HSLhsl(259, 53%, 57%)
HSVhsv(259, 57%, 80%)
CMYKcmyk(38.4%, 56.7%, 0%, 20.4%)
CIE-LABlab(46.51, 40.87, -54.64)
CIE-LCHlch(46.51, 68.23, 306.80°)
OKLaboklab(55.61% 0.0726 -0.1552)
OKLCHoklch(55.61% 0.171 295.1)
XYZxyz(22.7239, 15.6508, 58.3120)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58CB #A6CB58
analogous
#586DCB #7D58CB #B658CB
triadic
#7D58CB #CB7D58 #58CB7D
tetradic
#7D58CB #CB586D #A6CB58 #58CBB6
square
#7D58CB #CB586D #A6CB58 #58CBB6
split-complementary
#7D58CB #CBB658 #6DCB58
monochromatic
#452881 #5D37AF #7D58CB #A187DA #C6B5E8

Accessibility & contrast

On white

5.08
#7D58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7D58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58CB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58CB#FFFFFF#000000##FFFFFF
##7D58CB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#6A7089
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d58cb;
/* rgb */ color: rgb(125, 88, 203);
/* oklch */ color: oklch(55.6% 0.171 295.1);
Tailwind
colors: {
  custom: {
    50: '#a788db',
    500: '#7d58cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d58cb;
$custom-light: #a788db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58cb",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 259.304,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.17133,
    "h": 295.1
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#7D58CB
secondary
#C8D7A8
accent
#DC4CAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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