#7F4FF4#7F4FF4

#7F4FF4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.232 H 290.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7F4FF4
RGBrgb(127, 79, 244)
HSLhsl(257, 88%, 63%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(48%, 67.6%, 0%, 4.3%)
CIE-LABlab(47.80, 57.20, -75.82)
CIE-LCHlch(47.80, 94.98, 307.04°)
OKLaboklab(57.5% 0.0815 -0.2174)
OKLCHoklch(57.5% 0.232 290.6)
XYZxyz(27.8729, 16.6346, 87.3126)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FF4 #C4F44F
analogous
#4F71F4 #7F4FF4 #D24FF4
triadic
#7F4FF4 #F47F4F #4FF47F
tetradic
#7F4FF4 #F44F71 #C4F44F #4FF4D2
square
#7F4FF4 #F44F71 #C4F44F #4FF4D2
split-complementary
#7F4FF4 #F4D24F #71F44F
monochromatic
#3F0CBD #5515F0 #7F4FF4 #A989F8 #D3C2FB

Accessibility & contrast

On white

4.85
#7F4FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7F4FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FF4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FF4#FFFFFF#000000##FFFFFF
##7F4FF41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#006EF1
Tritanopia (blue-blind)
#58799B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f4ff4;
/* rgb */ color: rgb(127, 79, 244);
/* oklch */ color: oklch(57.5% 0.232 290.6);
Tailwind
colors: {
  custom: {
    50: '#ad84f9',
    500: '#7f4ff4',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ff4;
$custom-light: #ad84f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ff4",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 257.455,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.23217,
    "h": 290.6
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#7F4FF4
secondary
#DCEDB2
accent
#E501A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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