#7F4FC0#7F4FC0

#7F4FC0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.171 H 300.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7F4FC0
RGBrgb(127, 79, 192)
HSLhsl(265, 47%, 53%)
HSVhsv(265, 59%, 75%)
CMYKcmyk(33.9%, 58.9%, 0%, 24.7%)
CIE-LABlab(44.10, 43.50, -52.14)
CIE-LCHlch(44.10, 67.90, 309.84°)
OKLaboklab(53.66% 0.0863 -0.1478)
OKLCHoklch(53.66% 0.171 300.3)
XYZxyz(21.0605, 13.9096, 51.4342)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FC0 #90C04F
analogous
#4F57C0 #7F4FC0 #B74FC0
triadic
#7F4FC0 #C07F4F #4FC07F
tetradic
#7F4FC0 #C04F57 #90C04F #4FC0B7
square
#7F4FC0 #C04F57 #90C04F #4FC0B7
split-complementary
#7F4FC0 #C0B74F #57C04F
monochromatic
#45276D #61379A #7F4FC0 #A07CD0 #C1A9E0

Accessibility & contrast

On white

5.55
#7F4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7F4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FC0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FC0#FFFFFF#000000##FFFFFF
##7F4FC01.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1368C4
Deuteranopia (green-blind)
#2C67BD
Tritanopia (blue-blind)
#716680
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f4fc0;
/* rgb */ color: rgb(127, 79, 192);
/* oklch */ color: oklch(53.7% 0.171 300.3);
Tailwind
colors: {
  custom: {
    50: '#a882d4',
    500: '#7f4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fc0;
$custom-light: #a882d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fc0",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 265.487,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.17113,
    "h": 300.3
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#7F4FC0
secondary
#B9CE9D
accent
#D7519E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7F4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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