#7D5CDD#7D5CDD

#7D5CDD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.188 H 291.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D5CDD
RGBrgb(125, 92, 221)
HSLhsl(255, 65%, 61%)
HSVhsv(255, 58%, 87%)
CMYKcmyk(43.4%, 58.4%, 0%, 13.3%)
CIE-LABlab(48.55, 43.52, -61.63)
CIE-LCHlch(48.55, 75.45, 305.23°)
OKLaboklab(57.48% 0.0678 -0.1757)
OKLCHoklch(57.48% 0.188 291.1)
XYZxyz(25.3321, 17.2339, 70.3844)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CDD #BCDD5C
analogous
#5C7CDD #7D5CDD #BE5CDD
triadic
#7D5CDD #DD7D5C #5CDD7D
tetradic
#7D5CDD #DD5C7C #BCDD5C #5CDDBE
square
#7D5CDD #DD5C7C #BCDD5C #5CDDBE
split-complementary
#7D5CDD #DDBE5C #7CDD5C
monochromatic
#41219E #562BD0 #7D5CDD #A58FE8 #CEC1F2

Accessibility & contrast

On white

4.72
#7D5CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7D5CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CDD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CDD#FFFFFF#000000##FFFFFF
##7D5CDD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#0971DA
Tritanopia (blue-blind)
#617994
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d5cdd;
/* rgb */ color: rgb(125, 92, 221);
/* oklch */ color: oklch(57.5% 0.188 291.1);
Tailwind
colors: {
  custom: {
    50: '#a98be8',
    500: '#7d5cdd',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cdd;
$custom-light: #a98be8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cdd",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 255.349,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.18835,
    "h": 291.1
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#7D5CDD
secondary
#D6E3B2
accent
#CD189F
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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