#7F6EAE#7F6EAE

#7F6EAE is a mid, moderate violet. Relative luminance 0.187; OKLCH L 58.0% C 0.098 H 295.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7F6EAE
RGBrgb(127, 110, 174)
HSLhsl(256, 28%, 56%)
HSVhsv(256, 37%, 68%)
CMYKcmyk(27%, 36.8%, 0%, 31.8%)
CIE-LABlab(50.36, 20.82, -31.75)
CIE-LCHlch(50.36, 37.96, 303.25°)
OKLaboklab(58.02% 0.042 -0.0883)
OKLCHoklch(58.02% 0.098 295.4)
XYZxyz(21.9665, 18.7196, 42.4921)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6EAE #9DAE6E
analogous
#6E7DAE #7F6EAE #9F6EAE
triadic
#7F6EAE #AE7F6E #6EAE7F
tetradic
#7F6EAE #AE6E7D #9DAE6E #6EAE9F
square
#7F6EAE #AE6E7D #9DAE6E #6EAE9F
split-complementary
#7F6EAE #AE9F6E #7DAE6E
monochromatic
#463A68 #61508F #7F6EAE #A295C4 #C4BDDA

Accessibility & contrast

On white

4.43
#7F6EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7F6EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6EAE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6EAE#FFFFFF#000000##000000
##7F6EAE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D78B1
Deuteranopia (green-blind)
#5F77AC
Tritanopia (blue-blind)
#757986
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f6eae;
/* rgb */ color: rgb(127, 110, 174);
/* oklch */ color: oklch(58.0% 0.098 295.4);
Tailwind
colors: {
  custom: {
    50: '#a597c6',
    500: '#7f6eae',
    950: '#000000',
  },
}
SCSS
$custom: #7f6eae;
$custom-light: #a597c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6eae",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 174
  },
  "hsl": {
    "h": 255.938,
    "s": 28.319,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.09779,
    "h": 295.4
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#7F6EAE
secondary
#C2C9AF
accent
#C563AB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7F6EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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