#7D4FCF#7D4FCF

#7D4FCF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.189 H 296.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7D4FCF
RGBrgb(125, 79, 207)
HSLhsl(262, 57%, 56%)
HSVhsv(262, 62%, 81%)
CMYKcmyk(39.6%, 61.8%, 0%, 18.8%)
CIE-LABlab(44.88, 46.95, -59.57)
CIE-LCHlch(44.88, 75.84, 308.24°)
OKLaboklab(54.5% 0.0831 -0.1697)
OKLCHoklch(54.5% 0.189 296.1)
XYZxyz(22.5130, 14.4565, 60.6236)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FCF #A1CF4F
analogous
#4F61CF #7D4FCF #BD4FCF
triadic
#7D4FCF #CF7D4F #4FCF7D
tetradic
#7D4FCF #CF4F61 #A1CF4F #4FCFBD
square
#7D4FCF #CF4F61 #A1CF4F #4FCFBD
split-complementary
#7D4FCF #CFBD4F #61CF4F
monochromatic
#452381 #5E30B1 #7D4FCF #A17FDC #C4AFE9

Accessibility & contrast

On white

5.40
#7D4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7D4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FCF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FCF#FFFFFF#000000##FFFFFF
##7D4FCF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0168CC
Tritanopia (blue-blind)
#696C88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4fcf;
/* rgb */ color: rgb(125, 79, 207);
/* oklch */ color: oklch(54.5% 0.189 296.1);
Tailwind
colors: {
  custom: {
    50: '#a882de',
    500: '#7d4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fcf;
$custom-light: #a882de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fcf",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 261.563,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.18892,
    "h": 296.1
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#7D4FCF
secondary
#C4D7A2
accent
#E047A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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