#7D5CDC#7D5CDC

#7D5CDC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.187 H 291.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D5CDC
RGBrgb(125, 92, 220)
HSLhsl(255, 65%, 61%)
HSVhsv(255, 58%, 86%)
CMYKcmyk(43.2%, 58.2%, 0%, 13.7%)
CIE-LABlab(48.49, 43.25, -61.17)
CIE-LCHlch(48.49, 74.91, 305.26°)
OKLaboklab(57.41% 0.0678 -0.1744)
OKLCHoklch(57.41% 0.187 291.2)
XYZxyz(25.1993, 17.1808, 69.6848)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CDC #BBDC5C
analogous
#5C7BDC #7D5CDC #BD5CDC
triadic
#7D5CDC #DC7D5C #5CDC7D
tetradic
#7D5CDC #DC5C7B #BBDC5C #5CDCBD
square
#7D5CDC #DC5C7B #BBDC5C #5CDCBD
split-complementary
#7D5CDC #DCBD5C #7BDC5C
monochromatic
#41229C #562CCE #7D5CDC #A58EE7 #CDC1F2

Accessibility & contrast

On white

4.73
#7D5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7D5CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CDC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CDC#FFFFFF#000000##FFFFFF
##7D5CDC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0E70D9
Tritanopia (blue-blind)
#627893
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d5cdc;
/* rgb */ color: rgb(125, 92, 220);
/* oklch */ color: oklch(57.4% 0.187 291.2);
Tailwind
colors: {
  custom: {
    50: '#a98be8',
    500: '#7d5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cdc;
$custom-light: #a98be8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cdc",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 255.469,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.1871,
    "h": 291.2
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#7D5CDC
secondary
#D6E2B2
accent
#CC199E
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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