#7D4FC9#7D4FC9

#7D4FC9 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.182 H 297.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D4FC9
RGBrgb(125, 79, 201)
HSLhsl(263, 53%, 55%)
HSVhsv(263, 61%, 79%)
CMYKcmyk(37.8%, 60.7%, 0%, 21.2%)
CIE-LABlab(44.47, 45.37, -56.77)
CIE-LCHlch(44.47, 72.67, 308.63°)
OKLaboklab(54.07% 0.0834 -0.1614)
OKLCHoklch(54.07% 0.182 297.3)
XYZxyz(21.7934, 14.1686, 56.8336)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FC9 #9BC94F
analogous
#4F5EC9 #7D4FC9 #BA4FC9
triadic
#7D4FC9 #C97D4F #4FC97D
tetradic
#7D4FC9 #C94F5E #9BC94F #4FC9BA
square
#7D4FC9 #C94F5E #9BC94F #4FC9BA
split-complementary
#7D4FC9 #C9BA4F #5EC94F
monochromatic
#452579 #5F33A7 #7D4FC9 #A07ED7 #C2ADE6

Accessibility & contrast

On white

5.48
#7D4FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7D4FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FC9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FC9#FFFFFF#000000##FFFFFF
##7D4FC91.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#1968C6
Tritanopia (blue-blind)
#6B6A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4fc9;
/* rgb */ color: rgb(125, 79, 201);
/* oklch */ color: oklch(54.1% 0.182 297.3);
Tailwind
colors: {
  custom: {
    50: '#a782da',
    500: '#7d4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fc9;
$custom-light: #a782da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fc9",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 262.623,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.18171,
    "h": 297.3
  },
  "luminance": 0.14169
}

Semantic roles & 50–950 ramp

primary
#7D4FC9
secondary
#C0D4A0
accent
#DC4BA6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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