#7D4CD0#7D4CD0

#7D4CD0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.194 H 296.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD0
RGBrgb(125, 76, 208)
HSLhsl(262, 58%, 56%)
HSVhsv(262, 63%, 82%)
CMYKcmyk(39.9%, 63.5%, 0%, 18.4%)
CIE-LABlab(44.35, 48.82, -61.00)
CIE-LCHlch(44.35, 78.13, 308.67°)
OKLaboklab(54.13% 0.0863 -0.1739)
OKLCHoklch(54.13% 0.194 296.4)
XYZxyz(22.4241, 14.0825, 61.1990)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD0 #9FD04C
analogous
#4C5DD0 #7D4CD0 #BF4CD0
triadic
#7D4CD0 #D07D4C #4CD07D
tetradic
#7D4CD0 #D04C5D #9FD04C #4CD0BF
square
#7D4CD0 #D04C5D #9FD04C #4CD0BF
split-complementary
#7D4CD0 #D0BF4C #5DD04C
monochromatic
#452280 #5F2EB0 #7D4CD0 #A07CDD #C3ADE9

Accessibility & contrast

On white

5.50
#7D4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7D4CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD0#FFFFFF#000000##FFFFFF
##7D4CD01.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#686A87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4cd0;
/* rgb */ color: rgb(125, 76, 208);
/* oklch */ color: oklch(54.1% 0.194 296.4);
Tailwind
colors: {
  custom: {
    50: '#a881df',
    500: '#7d4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd0;
$custom-light: #a881df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd0",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 262.273,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.19414,
    "h": 296.4
  },
  "luminance": 0.14083
}

Semantic roles & 50–950 ramp

primary
#7D4CD0
secondary
#C3D7A0
accent
#E246A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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