#7F4DD7#7F4DD7

#7F4DD7 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.201 H 295.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7F4DD7
RGBrgb(127, 77, 215)
HSLhsl(262, 63%, 57%)
HSVhsv(262, 64%, 84%)
CMYKcmyk(40.9%, 64.2%, 0%, 15.7%)
CIE-LABlab(45.26, 50.53, -63.54)
CIE-LCHlch(45.26, 81.18, 308.50°)
OKLaboklab(54.99% 0.0873 -0.1813)
OKLCHoklch(54.99% 0.201 295.7)
XYZxyz(23.6688, 14.7256, 65.8721)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4DD7 #A5D74D
analogous
#4D60D7 #7F4DD7 #C44DD7
triadic
#7F4DD7 #D77F4D #4DD77F
tetradic
#7F4DD7 #D74D60 #A5D74D #4DD7C4
square
#7F4DD7 #D74D60 #A5D74D #4DD7C4
split-complementary
#7F4DD7 #D7C44D #60D74D
monochromatic
#461F8A #5F2ABC #7F4DD7 #A37FE2 #C7B1ED

Accessibility & contrast

On white

5.32
#7F4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7F4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4DD7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4DD7#FFFFFF#000000##FFFFFF
##7F4DD71.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#686D8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f4dd7;
/* rgb */ color: rgb(127, 77, 215);
/* oklch */ color: oklch(55.0% 0.201 295.7);
Tailwind
colors: {
  custom: {
    50: '#aa82e4',
    500: '#7f4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #7f4dd7;
$custom-light: #aa82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4dd7",
  "rgb": {
    "r": 127,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 261.739,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.20121,
    "h": 295.7
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#7F4DD7
secondary
#C8DCA4
accent
#E641AB
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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