#7D4DC1#7D4DC1

#7D4DC1 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.175 H 299.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7D4DC1
RGBrgb(125, 77, 193)
HSLhsl(265, 48%, 53%)
HSVhsv(265, 60%, 76%)
CMYKcmyk(35.2%, 60.1%, 0%, 24.3%)
CIE-LABlab(43.53, 44.38, -53.65)
CIE-LCHlch(43.53, 69.63, 309.60°)
OKLaboklab(53.22% 0.0861 -0.1523)
OKLCHoklch(53.22% 0.175 299.5)
XYZxyz(20.7346, 13.5178, 51.9585)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DC1 #91C14D
analogous
#4D57C1 #7D4DC1 #B74DC1
triadic
#7D4DC1 #C17D4D #4DC17D
tetradic
#7D4DC1 #C14D57 #91C14D #4DC1B7
square
#7D4DC1 #C14D57 #91C14D #4DC1B7
split-complementary
#7D4DC1 #C1B74D #57C14D
monochromatic
#44266D #60369B #7D4DC1 #9E7AD1 #BFA8E1

Accessibility & contrast

On white

5.67
#7D4DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7D4DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DC1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DC1#FFFFFF#000000##FFFFFF
##7D4DC11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#2466BE
Tritanopia (blue-blind)
#6E6680
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4dc1;
/* rgb */ color: rgb(125, 77, 193);
/* oklch */ color: oklch(53.2% 0.175 299.5);
Tailwind
colors: {
  custom: {
    50: '#a781d4',
    500: '#7d4dc1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dc1;
$custom-light: #a781d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dc1",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 264.828,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.17491,
    "h": 299.5
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#7D4DC1
secondary
#B9CE9C
accent
#D850A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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