#7F4FF6#7F4FF6

#7F4FF6 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.234 H 290.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7F4FF6
RGBrgb(127, 79, 246)
HSLhsl(257, 90%, 64%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(48.4%, 67.9%, 0%, 3.5%)
CIE-LABlab(47.95, 57.74, -76.68)
CIE-LCHlch(47.95, 95.99, 306.98°)
OKLaboklab(57.66% 0.0812 -0.2199)
OKLCHoklch(57.66% 0.234 290.3)
XYZxyz(28.1782, 16.7567, 88.9206)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FF6 #C6F64F
analogous
#4F72F6 #7F4FF6 #D34FF6
triadic
#7F4FF6 #F67F4F #4FF67F
tetradic
#7F4FF6 #F64F72 #C6F64F #4FF6D3
square
#7F4FF6 #F64F72 #C6F64F #4FF6D3
split-complementary
#7F4FF6 #F6D34F #72F64F
monochromatic
#3E0AC1 #5515F3 #7F4FF6 #A989F9 #D4C3FC

Accessibility & contrast

On white

4.83
#7F4FF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7F4FF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FF6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FF6#FFFFFF#000000##FFFFFF
##7F4FF61.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#006EF3
Tritanopia (blue-blind)
#57799D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f4ff6;
/* rgb */ color: rgb(127, 79, 246);
/* oklch */ color: oklch(57.7% 0.234 290.3);
Tailwind
colors: {
  custom: {
    50: '#ae84fa',
    500: '#7f4ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ff6;
$custom-light: #ae84fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ff6",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 246
  },
  "hsl": {
    "h": 257.246,
    "s": 90.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.23444,
    "h": 290.3
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#7F4FF6
secondary
#DDEEB3
accent
#E600A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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