#7D5FCD#7D5FCD

#7D5FCD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.164 H 293.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D5FCD
RGBrgb(125, 95, 205)
HSLhsl(256, 52%, 59%)
HSVhsv(256, 54%, 80%)
CMYKcmyk(39%, 53.7%, 0%, 19.6%)
CIE-LABlab(48.20, 37.39, -53.08)
CIE-LCHlch(48.20, 64.93, 305.17°)
OKLaboklab(56.89% 0.0641 -0.1506)
OKLCHoklch(56.89% 0.164 293)
XYZxyz(23.5662, 16.9516, 59.7761)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FCD #AFCD5F
analogous
#5F78CD #7D5FCD #B45FCD
triadic
#7D5FCD #CD7D5F #5FCD7D
tetradic
#7D5FCD #CD5F78 #AFCD5F #5FCDB4
square
#7D5FCD #CD5F78 #AFCD5F #5FCDB4
split-complementary
#7D5FCD #CDB45F #78CD5F
monochromatic
#442A87 #5B39B6 #7D5FCD #A38EDC #C9BCEA

Accessibility & contrast

On white

4.78
#7D5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7D5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5FCD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FCD#FFFFFF#000000##FFFFFF
##7D5FCD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#3470CB
Tritanopia (blue-blind)
#68768D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d5fcd;
/* rgb */ color: rgb(125, 95, 205);
/* oklch */ color: oklch(56.9% 0.164 293.0);
Tailwind
colors: {
  custom: {
    50: '#a78ddd',
    500: '#7d5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fcd;
$custom-light: #a78ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fcd",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 256.364,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.16365,
    "h": 293
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#7D5FCD
secondary
#CEDAAE
accent
#DC4CB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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