#7F4FD4#7F4FD4

#7F4FD4 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.195 H 296.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7F4FD4
RGBrgb(127, 79, 212)
HSLhsl(262, 61%, 57%)
HSVhsv(262, 63%, 83%)
CMYKcmyk(40.1%, 62.7%, 0%, 16.9%)
CIE-LABlab(45.44, 48.68, -61.53)
CIE-LCHlch(45.44, 78.46, 308.35°)
OKLaboklab(55.06% 0.0854 -0.1754)
OKLCHoklch(55.06% 0.195 296)
XYZxyz(23.4289, 14.8570, 63.9079)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FD4 #A4D44F
analogous
#4F62D4 #7F4FD4 #C24FD4
triadic
#7F4FD4 #D47F4F #4FD47F
tetradic
#7F4FD4 #D44F62 #A4D44F #4FD4C2
square
#7F4FD4 #D44F62 #A4D44F #4FD4C2
split-complementary
#7F4FD4 #D4C24F #62D44F
monochromatic
#462187 #5F2DB9 #7F4FD4 #A380E0 #C7B1EC

Accessibility & contrast

On white

5.29
#7F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7F4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FD4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FD4#FFFFFF#000000##FFFFFF
##7F4FD41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#6A6D8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f4fd4;
/* rgb */ color: rgb(127, 79, 212);
/* oklch */ color: oklch(55.1% 0.195 296.0);
Tailwind
colors: {
  custom: {
    50: '#aa83e2',
    500: '#7f4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fd4;
$custom-light: #aa83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fd4",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 261.654,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55059,
    "c": 0.19505,
    "h": 296
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#7F4FD4
secondary
#C7DAA4
accent
#E444AA
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7F4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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