#7F4FC7#7F4FC7

#7F4FC7 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.180 H 298.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7F4FC7
RGBrgb(127, 79, 199)
HSLhsl(264, 52%, 55%)
HSVhsv(264, 60%, 78%)
CMYKcmyk(36.2%, 60.3%, 0%, 22%)
CIE-LABlab(44.56, 45.30, -55.47)
CIE-LCHlch(44.56, 71.61, 309.24°)
OKLaboklab(54.14% 0.0861 -0.1575)
OKLCHoklch(54.14% 0.18 298.7)
XYZxyz(21.8546, 14.2273, 55.6165)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FC7 #97C74F
analogous
#4F5BC7 #7F4FC7 #BB4FC7
triadic
#7F4FC7 #C77F4F #4FC77F
tetradic
#7F4FC7 #C74F5B #97C74F #4FC7BB
square
#7F4FC7 #C74F5B #97C74F #4FC7BB
split-complementary
#7F4FC7 #C7BB4F #5BC74F
monochromatic
#462676 #6134A4 #7F4FC7 #A17DD6 #C3ACE5

Accessibility & contrast

On white

5.46
#7F4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7F4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FC7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FC7#FFFFFF#000000##FFFFFF
##7F4FC71.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#2168C4
Tritanopia (blue-blind)
#6F6983
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f4fc7;
/* rgb */ color: rgb(127, 79, 199);
/* oklch */ color: oklch(54.1% 0.180 298.7);
Tailwind
colors: {
  custom: {
    50: '#a982d9',
    500: '#7f4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fc7;
$custom-light: #a982d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fc7",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 264,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.17956,
    "h": 298.7
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#7F4FC7
secondary
#BED2A0
accent
#DB4DA2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7F4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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