#7D4FD8#7D4FD8

#7D4FD8 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.200 H 294.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD8
RGBrgb(125, 79, 216)
HSLhsl(260, 64%, 58%)
HSVhsv(260, 63%, 85%)
CMYKcmyk(42.1%, 63.4%, 0%, 15.3%)
CIE-LABlab(45.51, 49.34, -63.71)
CIE-LCHlch(45.51, 80.58, 307.75°)
OKLaboklab(55.15% 0.0824 -0.1819)
OKLCHoklch(55.15% 0.2 294.4)
XYZxyz(23.6448, 14.9092, 66.5844)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD8 #AAD84F
analogous
#4F65D8 #7D4FD8 #C14FD8
triadic
#7D4FD8 #D87D4F #4FD87D
tetradic
#7D4FD8 #D84F65 #AAD84F #4FD8C1
square
#7D4FD8 #D84F65 #AAD84F #4FD8C1
split-complementary
#7D4FD8 #D8C14F #65D84F
monochromatic
#441F8D #5C2ABF #7D4FD8 #A281E3 #C7B3EE

Accessibility & contrast

On white

5.27
#7D4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7D4FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FD8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD8#FFFFFF#000000##FFFFFF
##7D4FD81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#646F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4fd8;
/* rgb */ color: rgb(125, 79, 216);
/* oklch */ color: oklch(55.2% 0.200 294.4);
Tailwind
colors: {
  custom: {
    50: '#a983e5',
    500: '#7d4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd8;
$custom-light: #a983e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd8",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 260.146,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.19963,
    "h": 294.4
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#7D4FD8
secondary
#CADDA6
accent
#E741AF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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