#7F6FAE#7F6FAE

#7F6FAE is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.2% C 0.096 H 294.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7F6FAE
RGBrgb(127, 111, 174)
HSLhsl(255, 28%, 56%)
HSVhsv(255, 36%, 68%)
CMYKcmyk(27%, 36.2%, 0%, 31.8%)
CIE-LABlab(50.61, 20.22, -31.35)
CIE-LCHlch(50.61, 37.30, 302.82°)
OKLaboklab(58.22% 0.0405 -0.0872)
OKLCHoklch(58.22% 0.096 294.9)
XYZxyz(22.0750, 18.9366, 42.5283)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6FAE #9EAE6F
analogous
#6F7EAE #7F6FAE #9E6FAE
triadic
#7F6FAE #AE7F6F #6FAE7F
tetradic
#7F6FAE #AE6F7E #9EAE6F #6FAE9E
square
#7F6FAE #AE6F7E #9EAE6F #6FAE9E
split-complementary
#7F6FAE #AE9E6F #7EAE6F
monochromatic
#463B68 #60518F #7F6FAE #A296C4 #C5BDDA

Accessibility & contrast

On white

4.39
#7F6FAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7F6FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6FAE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6FAE#FFFFFF#000000##000000
##7F6FAE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B0
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#757A86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f6fae;
/* rgb */ color: rgb(127, 111, 174);
/* oklch */ color: oklch(58.2% 0.096 294.9);
Tailwind
colors: {
  custom: {
    50: '#a598c6',
    500: '#7f6fae',
    950: '#000000',
  },
}
SCSS
$custom: #7f6fae;
$custom-light: #a598c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6fae",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 174
  },
  "hsl": {
    "h": 255.238,
    "s": 28,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.09614,
    "h": 294.9
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#7F6FAE
secondary
#C3C9AF
accent
#C463AC
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7F6FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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