#7D58BF#7D58BF

#7D58BF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.156 H 297.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7D58BF
RGBrgb(125, 88, 191)
HSLhsl(262, 45%, 55%)
HSVhsv(262, 54%, 75%)
CMYKcmyk(34.6%, 53.9%, 0%, 25.1%)
CIE-LABlab(45.77, 37.68, -48.89)
CIE-LCHlch(45.77, 61.72, 307.62°)
OKLaboklab(54.82% 0.0723 -0.1383)
OKLCHoklch(54.82% 0.156 297.6)
XYZxyz(21.3488, 15.1007, 51.0701)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58BF #9ABF58
analogous
#5867BF #7D58BF #B058BF
triadic
#7D58BF #BF7D58 #58BF7D
tetradic
#7D58BF #BF5867 #9ABF58 #58BFB0
square
#7D58BF #BF5867 #9ABF58 #58BFB0
split-complementary
#7D58BF #BFB058 #67BF58
monochromatic
#442B71 #5F3C9D #7D58BF #9F84D0 #C2B0E1

Accessibility & contrast

On white

5.22
#7D58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7D58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58BF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58BF#FFFFFF#000000##FFFFFF
##7D58BF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC2
Deuteranopia (green-blind)
#396BBD
Tritanopia (blue-blind)
#6E6D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d58bf;
/* rgb */ color: rgb(125, 88, 191);
/* oklch */ color: oklch(54.8% 0.156 297.6);
Tailwind
colors: {
  custom: {
    50: '#a688d3',
    500: '#7d58bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d58bf;
$custom-light: #a688d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58bf",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 261.553,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.15607,
    "h": 297.6
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#7D58BF
secondary
#C0CFA4
accent
#D454A6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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