#7D5CC0#7D5CC0

#7D5CC0 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.151 H 296.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D5CC0
RGBrgb(125, 92, 192)
HSLhsl(260, 44%, 56%)
HSVhsv(260, 52%, 75%)
CMYKcmyk(34.9%, 52.1%, 0%, 24.7%)
CIE-LABlab(46.74, 35.63, -47.93)
CIE-LCHlch(46.74, 59.72, 306.63°)
OKLaboklab(55.56% 0.0672 -0.1355)
OKLCHoklch(55.56% 0.151 296.4)
XYZxyz(21.7966, 15.8197, 51.7641)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CC0 #9FC05C
analogous
#5C6DC0 #7D5CC0 #AF5CC0
triadic
#7D5CC0 #C07D5C #5CC07D
tetradic
#7D5CC0 #C05C6D #9FC05C #5CC0AF
square
#7D5CC0 #C05C6D #9FC05C #5CC0AF
split-complementary
#7D5CC0 #C0AF5C #6DC05C
monochromatic
#452D75 #5F3EA1 #7D5CC0 #A088D1 #C3B4E2

Accessibility & contrast

On white

5.04
#7D5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7D5CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CC0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CC0#FFFFFF#000000##FFFFFF
##7D5CC01.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC3
Deuteranopia (green-blind)
#3D6DBE
Tritanopia (blue-blind)
#6E7085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d5cc0;
/* rgb */ color: rgb(125, 92, 192);
/* oklch */ color: oklch(55.6% 0.151 296.4);
Tailwind
colors: {
  custom: {
    50: '#a68bd3',
    500: '#7d5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cc0;
$custom-light: #a68bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cc0",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 259.8,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.15123,
    "h": 296.4
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#7D5CC0
secondary
#C3D1A7
accent
#D454AA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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