#7F6FC4#7F6FC4

#7F6FC4 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.4% C 0.127 H 290.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7F6FC4
RGBrgb(127, 111, 196)
HSLhsl(251, 42%, 60%)
HSVhsv(251, 43%, 77%)
CMYKcmyk(35.2%, 43.4%, 0%, 23.1%)
CIE-LABlab(51.69, 26.02, -42.35)
CIE-LCHlch(51.69, 49.71, 301.57°)
OKLaboklab(59.38% 0.0449 -0.1191)
OKLCHoklch(59.38% 0.127 290.6)
XYZxyz(24.3980, 19.8658, 54.7629)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6FC4 #B4C46F
analogous
#6F89C4 #7F6FC4 #A96FC4
triadic
#7F6FC4 #C47F6F #6FC47F
tetradic
#7F6FC4 #C46F89 #B4C46F #6FC4A9
square
#7F6FC4 #C46F89 #B4C46F #6FC4A9
split-complementary
#7F6FC4 #C4A96F #89C46F
monochromatic
#443683 #5B47AE #7F6FC4 #A69AD6 #CCC6E8

Accessibility & contrast

On white

4.22
#7F6FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7F6FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6FC4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6FC4#FFFFFF#000000##000000
##7F6FC41.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC7
Deuteranopia (green-blind)
#5479C2
Tritanopia (blue-blind)
#6E7F90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f6fc4;
/* rgb */ color: rgb(127, 111, 196);
/* oklch */ color: oklch(59.4% 0.127 290.6);
Tailwind
colors: {
  custom: {
    50: '#a798d6',
    500: '#7f6fc4',
    950: '#000000',
  },
}
SCSS
$custom: #7f6fc4;
$custom-light: #a798d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6fc4",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 251.294,
    "s": 41.872,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59384,
    "c": 0.12729,
    "h": 290.6
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#7F6FC4
secondary
#D2D8B7
accent
#B5319C
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7F6FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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