#7D5CC2#7D5CC2

#7D5CC2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.154 H 295.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7D5CC2
RGBrgb(125, 92, 194)
HSLhsl(259, 46%, 56%)
HSVhsv(259, 53%, 76%)
CMYKcmyk(35.6%, 52.6%, 0%, 23.9%)
CIE-LABlab(46.85, 36.16, -48.90)
CIE-LCHlch(46.85, 60.81, 306.48°)
OKLaboklab(55.68% 0.0673 -0.1383)
OKLCHoklch(55.68% 0.154 295.9)
XYZxyz(22.0197, 15.9089, 52.9391)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CC2 #A1C25C
analogous
#5C6EC2 #7D5CC2 #B05CC2
triadic
#7D5CC2 #C27D5C #5CC27D
tetradic
#7D5CC2 #C25C6E #A1C25C #5CC2B0
square
#7D5CC2 #C25C6E #A1C25C #5CC2B0
split-complementary
#7D5CC2 #C2B05C #6EC25C
monochromatic
#452D77 #5E3DA4 #7D5CC2 #A189D3 #C4B5E3

Accessibility & contrast

On white

5.02
#7D5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7D5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CC2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CC2#FFFFFF#000000##FFFFFF
##7D5CC21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3370C6
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#6D7086
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d5cc2;
/* rgb */ color: rgb(125, 92, 194);
/* oklch */ color: oklch(55.7% 0.154 295.9);
Tailwind
colors: {
  custom: {
    50: '#a68bd5',
    500: '#7d5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cc2;
$custom-light: #a68bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cc2",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 259.412,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.15383,
    "h": 295.9
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#7D5CC2
secondary
#C4D2A8
accent
#D553AB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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