#7F4FD9#7F4FD9

#7F4FD9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.201 H 295.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7F4FD9
RGBrgb(127, 79, 217)
HSLhsl(261, 64%, 58%)
HSVhsv(261, 64%, 85%)
CMYKcmyk(41.5%, 63.6%, 0%, 14.9%)
CIE-LABlab(45.79, 50.00, -63.82)
CIE-LCHlch(45.79, 81.07, 308.08°)
OKLaboklab(55.42% 0.085 -0.1821)
OKLCHoklch(55.42% 0.201 295)
XYZxyz(24.0694, 15.1132, 67.2812)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FD9 #A9D94F
analogous
#4F64D9 #7F4FD9 #C44FD9
triadic
#7F4FD9 #D97F4F #4FD97F
tetradic
#7F4FD9 #D94F64 #A9D94F #4FD9C4
square
#7F4FD9 #D94F64 #A9D94F #4FD9C4
split-complementary
#7F4FD9 #D9C44F #64D94F
monochromatic
#461F8F #5E2AC1 #7F4FD9 #A481E4 #C8B4EF

Accessibility & contrast

On white

5.22
#7F4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7F4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FD9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FD9#FFFFFF#000000##FFFFFF
##7F4FD91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#676F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f4fd9;
/* rgb */ color: rgb(127, 79, 217);
/* oklch */ color: oklch(55.4% 0.201 295.0);
Tailwind
colors: {
  custom: {
    50: '#aa83e6',
    500: '#7f4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fd9;
$custom-light: #aa83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fd9",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 260.87,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.20095,
    "h": 295
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#7F4FD9
secondary
#CADDA6
accent
#E740AD
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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