#7C58BF#7C58BF

#7C58BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.156 H 297.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7C58BF
RGBrgb(124, 88, 191)
HSLhsl(261, 45%, 55%)
HSVhsv(261, 54%, 75%)
CMYKcmyk(35.1%, 53.9%, 0%, 25.1%)
CIE-LABlab(45.67, 37.43, -49.06)
CIE-LCHlch(45.67, 61.71, 307.34°)
OKLaboklab(54.72% 0.071 -0.1388)
OKLCHoklch(54.72% 0.156 297.1)
XYZxyz(21.2035, 15.0258, 51.0633)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58BF #9BBF58
analogous
#5867BF #7C58BF #B058BF
triadic
#7C58BF #BF7C58 #58BF7C
tetradic
#7C58BF #BF5867 #9BBF58 #58BFB0
square
#7C58BF #BF5867 #9BBF58 #58BFB0
split-complementary
#7C58BF #BFB058 #67BF58
monochromatic
#442B71 #5E3C9D #7C58BF #9F84D0 #C1B0E1

Accessibility & contrast

On white

5.24
#7C58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7C58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C58BF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C58BF#FFFFFF#000000##FFFFFF
##7C58BF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#6D6D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c58bf;
/* rgb */ color: rgb(124, 88, 191);
/* oklch */ color: oklch(54.7% 0.156 297.1);
Tailwind
colors: {
  custom: {
    50: '#a588d3',
    500: '#7c58bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c58bf;
$custom-light: #a588d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58bf",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 260.971,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.15594,
    "h": 297.1
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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