#7F4FDA#7F4FDA

#7F4FDA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.202 H 294.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7F4FDA
RGBrgb(127, 79, 218)
HSLhsl(261, 65%, 58%)
HSVhsv(261, 64%, 85%)
CMYKcmyk(41.7%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.86, 50.27, -64.27)
CIE-LCHlch(45.86, 81.59, 308.03°)
OKLaboklab(55.5% 0.0849 -0.1834)
OKLCHoklch(55.5% 0.202 294.8)
XYZxyz(24.1999, 15.1654, 67.9683)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FDA #AADA4F
analogous
#4F65DA #7F4FDA #C44FDA
triadic
#7F4FDA #DA7F4F #4FDA7F
tetradic
#7F4FDA #DA4F65 #AADA4F #4FDAC4
square
#7F4FDA #DA4F65 #AADA4F #4FDAC4
split-complementary
#7F4FDA #DAC44F #65DA4F
monochromatic
#461E90 #5E29C3 #7F4FDA #A482E5 #C9B4EF

Accessibility & contrast

On white

5.21
#7F4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7F4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FDA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FDA#FFFFFF#000000##FFFFFF
##7F4FDA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#676F8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f4fda;
/* rgb */ color: rgb(127, 79, 218);
/* oklch */ color: oklch(55.5% 0.202 294.8);
Tailwind
colors: {
  custom: {
    50: '#aa83e6',
    500: '#7f4fda',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fda;
$custom-light: #aa83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fda",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 260.719,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.20213,
    "h": 294.8
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#7F4FDA
secondary
#CBDEA7
accent
#E840AE
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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