#7F6FA4#7F6FA4

#7F6FA4 is a mid, moderate violet. Relative luminance 0.186; OKLCH L 57.7% C 0.082 H 297.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7F6FA4
RGBrgb(127, 111, 164)
HSLhsl(258, 23%, 54%)
HSVhsv(258, 32%, 64%)
CMYKcmyk(22.6%, 32.3%, 0%, 35.7%)
CIE-LABlab(50.17, 17.71, -26.21)
CIE-LCHlch(50.17, 31.63, 304.05°)
OKLaboklab(57.73% 0.038 -0.0724)
OKLCHoklch(57.73% 0.082 297.7)
XYZxyz(21.1362, 18.5611, 37.5839)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6FA4 #94A46F
analogous
#6F7AA4 #7F6FA4 #9A6FA4
triadic
#7F6FA4 #A47F6F #6FA47F
tetradic
#7F6FA4 #A46F7A #94A46F #6FA49A
square
#7F6FA4 #A46F7A #94A46F #6FA49A
split-complementary
#7F6FA4 #A49A6F #7AA46F
monochromatic
#453B5E #615383 #7F6FA4 #A095BC #C2BAD3

Accessibility & contrast

On white

4.46
#7F6FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7F6FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6FA4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6FA4#FFFFFF#000000##000000
##7F6FA41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A6
Deuteranopia (green-blind)
#6577A3
Tritanopia (blue-blind)
#787782
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f6fa4;
/* rgb */ color: rgb(127, 111, 164);
/* oklch */ color: oklch(57.7% 0.082 297.7);
Tailwind
colors: {
  custom: {
    50: '#a598bf',
    500: '#7f6fa4',
    950: '#000000',
  },
}
SCSS
$custom: #7f6fa4;
$custom-light: #a598bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6fa4",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 258.113,
    "s": 22.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57733,
    "c": 0.08178,
    "h": 297.7
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

primary
#7F6FA4
secondary
#BCC3AC
accent
#BF69A5
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7F6FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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