#7F4DD6#7F4DD6

#7F4DD6 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.200 H 295.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7F4DD6
RGBrgb(127, 77, 214)
HSLhsl(262, 63%, 57%)
HSVhsv(262, 64%, 84%)
CMYKcmyk(40.7%, 64%, 0%, 16.1%)
CIE-LABlab(45.18, 50.27, -63.08)
CIE-LCHlch(45.18, 80.66, 308.55°)
OKLaboklab(54.92% 0.0874 -0.1799)
OKLCHoklch(54.92% 0.2 295.9)
XYZxyz(23.5407, 14.6743, 65.1974)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4DD6 #A4D64D
analogous
#4D60D6 #7F4DD6 #C44DD6
triadic
#7F4DD6 #D67F4D #4DD67F
tetradic
#7F4DD6 #D64D60 #A4D64D #4DD6C4
square
#7F4DD6 #D64D60 #A4D64D #4DD6C4
split-complementary
#7F4DD6 #D6C44D #60D64D
monochromatic
#462089 #5F2BBB #7F4DD6 #A37FE1 #C7B0ED

Accessibility & contrast

On white

5.34
#7F4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7F4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4DD6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4DD6#FFFFFF#000000##FFFFFF
##7F4DD61.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#696D8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f4dd6;
/* rgb */ color: rgb(127, 77, 214);
/* oklch */ color: oklch(54.9% 0.200 295.9);
Tailwind
colors: {
  custom: {
    50: '#aa82e3',
    500: '#7f4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #7f4dd6;
$custom-light: #aa82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4dd6",
  "rgb": {
    "r": 127,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 261.898,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.20004,
    "h": 295.9
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#7F4DD6
secondary
#C7DBA4
accent
#E642AA
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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