#7F4DD0#7F4DD0

#7F4DD0 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.193 H 297.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7F4DD0
RGBrgb(127, 77, 208)
HSLhsl(263, 58%, 56%)
HSVhsv(263, 63%, 82%)
CMYKcmyk(38.9%, 63%, 0%, 18.4%)
CIE-LABlab(44.76, 48.71, -60.32)
CIE-LCHlch(44.76, 77.53, 308.92°)
OKLaboklab(54.48% 0.0879 -0.1718)
OKLCHoklch(54.48% 0.193 297.1)
XYZxyz(22.7885, 14.3735, 61.2360)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4DD0 #9ED04D
analogous
#4D5CD0 #7F4DD0 #C04DD0
triadic
#7F4DD0 #D07F4D #4DD07F
tetradic
#7F4DD0 #D04D5C #9ED04D #4DD0C0
square
#7F4DD0 #D04D5C #9ED04D #4DD0C0
split-complementary
#7F4DD0 #D0C04D #5CD04D
monochromatic
#462281 #602FB1 #7F4DD0 #A27DDD #C5AEEA

Accessibility & contrast

On white

5.42
#7F4DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7F4DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4DD0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4DD0#FFFFFF#000000##FFFFFF
##7F4DD01.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#6B6A87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f4dd0;
/* rgb */ color: rgb(127, 77, 208);
/* oklch */ color: oklch(54.5% 0.193 297.1);
Tailwind
colors: {
  custom: {
    50: '#aa81df',
    500: '#7f4dd0',
    950: '#000000',
  },
}
SCSS
$custom: #7f4dd0;
$custom-light: #aa81df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4dd0",
  "rgb": {
    "r": 127,
    "g": 77,
    "b": 208
  },
  "hsl": {
    "h": 262.901,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.19301,
    "h": 297.1
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#7F4DD0
secondary
#C3D8A1
accent
#E146A6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F4DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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