#7D4FC8#7D4FC8

#7D4FC8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.180 H 297.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D4FC8
RGBrgb(125, 79, 200)
HSLhsl(263, 52%, 55%)
HSVhsv(263, 61%, 78%)
CMYKcmyk(37.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(44.41, 45.11, -56.30)
CIE-LCHlch(44.41, 72.14, 308.70°)
OKLaboklab(54% 0.0834 -0.1601)
OKLCHoklch(54% 0.181 297.5)
XYZxyz(21.6761, 14.1217, 56.2161)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FC8 #9AC84F
analogous
#4F5EC8 #7D4FC8 #BA4FC8
triadic
#7D4FC8 #C87D4F #4FC87D
tetradic
#7D4FC8 #C84F5E #9AC84F #4FC8BA
square
#7D4FC8 #C84F5E #9AC84F #4FC8BA
split-complementary
#7D4FC8 #C8BA4F #5EC84F
monochromatic
#442577 #5F34A6 #7D4FC8 #9F7ED7 #C2ACE5

Accessibility & contrast

On white

5.49
#7D4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4FC8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FC8#FFFFFF#000000##FFFFFF
##7D4FC81.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#1B68C5
Tritanopia (blue-blind)
#6B6984
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4fc8;
/* rgb */ color: rgb(125, 79, 200);
/* oklch */ color: oklch(54.0% 0.180 297.5);
Tailwind
colors: {
  custom: {
    50: '#a782d9',
    500: '#7d4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fc8;
$custom-light: #a782d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fc8",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 262.81,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.1805,
    "h": 297.5
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

primary
#7D4FC8
secondary
#C0D3A0
accent
#DC4CA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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