#7D5CC5#7D5CC5

#7D5CC5 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.158 H 295.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7D5CC5
RGBrgb(125, 92, 197)
HSLhsl(259, 48%, 57%)
HSVhsv(259, 53%, 77%)
CMYKcmyk(36.5%, 53.3%, 0%, 22.7%)
CIE-LABlab(47.03, 36.96, -50.34)
CIE-LCHlch(47.03, 62.46, 306.29°)
OKLaboklab(55.87% 0.0675 -0.1426)
OKLCHoklch(55.87% 0.158 295.3)
XYZxyz(22.3600, 16.0451, 54.7314)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CC5 #A4C55C
analogous
#5C70C5 #7D5CC5 #B25CC5
triadic
#7D5CC5 #C57D5C #5CC57D
tetradic
#7D5CC5 #C55C70 #A4C55C #5CC5B2
square
#7D5CC5 #C55C70 #A4C55C #5CC5B2
split-complementary
#7D5CC5 #C5B25C #70C55C
monochromatic
#452C7B #5E3CA8 #7D5CC5 #A189D5 #C5B6E5

Accessibility & contrast

On white

4.99
#7D5CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7D5CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CC5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CC5#FFFFFF#000000##FFFFFF
##7D5CC51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3070C9
Deuteranopia (green-blind)
#386EC3
Tritanopia (blue-blind)
#6C7188
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d5cc5;
/* rgb */ color: rgb(125, 92, 197);
/* oklch */ color: oklch(55.9% 0.158 295.3);
Tailwind
colors: {
  custom: {
    50: '#a68bd7',
    500: '#7d5cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cc5;
$custom-light: #a68bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cc5",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 258.857,
    "s": 47.511,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.15772,
    "h": 295.3
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

primary
#7D5CC5
secondary
#C6D4A9
accent
#D751AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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