#7D5BCD#7D5BCD

#7D5BCD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.170 H 294.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7D5BCD
RGBrgb(125, 91, 205)
HSLhsl(258, 53%, 58%)
HSVhsv(258, 56%, 80%)
CMYKcmyk(39%, 55.6%, 0%, 19.6%)
CIE-LABlab(47.30, 39.70, -54.52)
CIE-LCHlch(47.30, 67.44, 306.06°)
OKLaboklab(56.23% 0.069 -0.1548)
OKLCHoklch(56.23% 0.17 294)
XYZxyz(23.2151, 16.2494, 59.6591)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BCD #ABCD5B
analogous
#5B72CD #7D5BCD #B65BCD
triadic
#7D5BCD #CD7D5B #5BCD7D
tetradic
#7D5BCD #CD5B72 #ABCD5B #5BCDB6
square
#7D5BCD #CD5B72 #ABCD5B #5BCDB6
split-complementary
#7D5BCD #CDB65B #72CD5B
monochromatic
#442985 #5C37B4 #7D5BCD #A28ADB #C7B9EA

Accessibility & contrast

On white

4.94
#7D5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7D5BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BCD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BCD#FFFFFF#000000##FFFFFF
##7D5BCD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#69738B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5bcd;
/* rgb */ color: rgb(125, 91, 205);
/* oklch */ color: oklch(56.2% 0.170 294.0);
Tailwind
colors: {
  custom: {
    50: '#a78add',
    500: '#7d5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bcd;
$custom-light: #a78add;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bcd",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 257.895,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.16951,
    "h": 294
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

primary
#7D5BCD
secondary
#CBD9AB
accent
#DD4BB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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