#7D5CD5#7D5CD5

#7D5CD5 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.178 H 292.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D5CD5
RGBrgb(125, 92, 213)
HSLhsl(256, 59%, 60%)
HSVhsv(256, 57%, 84%)
CMYKcmyk(41.3%, 56.8%, 0%, 16.5%)
CIE-LABlab(48.03, 41.31, -57.92)
CIE-LCHlch(48.03, 71.15, 305.50°)
OKLaboklab(56.93% 0.0679 -0.1648)
OKLCHoklch(56.93% 0.178 292.4)
XYZxyz(24.2916, 16.8177, 64.9042)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CD5 #B4D55C
analogous
#5C77D5 #7D5CD5 #BA5CD5
triadic
#7D5CD5 #D57D5C #5CD57D
tetradic
#7D5CD5 #D55C77 #B4D55C #5CD5BA
square
#7D5CD5 #D55C77 #B4D55C #5CD5BA
split-complementary
#7D5CD5 #D5BA5C #77D55C
monochromatic
#432591 #5932C2 #7D5CD5 #A48DE2 #CBBDEE

Accessibility & contrast

On white

4.81
#7D5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7D5CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CD5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CD5#FFFFFF#000000##FFFFFF
##7D5CD51.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1574D9
Deuteranopia (green-blind)
#2270D2
Tritanopia (blue-blind)
#657690
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d5cd5;
/* rgb */ color: rgb(125, 92, 213);
/* oklch */ color: oklch(56.9% 0.178 292.4);
Tailwind
colors: {
  custom: {
    50: '#a88be3',
    500: '#7d5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cd5;
$custom-light: #a88be3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cd5",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 256.364,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.17826,
    "h": 292.4
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#7D5CD5
secondary
#D1DEAF
accent
#E246B7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #7D5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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