#7F6AE5#7F6AE5

#7F6AE5 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.5% C 0.179 H 287.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7F6AE5
RGBrgb(127, 106, 229)
HSLhsl(250, 70%, 66%)
HSVhsv(250, 54%, 90%)
CMYKcmyk(44.5%, 53.7%, 0%, 10.2%)
CIE-LABlab(52.37, 38.17, -59.99)
CIE-LCHlch(52.37, 71.10, 302.47°)
OKLaboklab(60.51% 0.0543 -0.1708)
OKLCHoklch(60.51% 0.179 287.6)
XYZxyz(28.0452, 20.4761, 76.5881)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6AE5 #D0E56A
analogous
#6A92E5 #7F6AE5 #BC6AE5
triadic
#7F6AE5 #E57F6A #6AE57F
tetradic
#7F6AE5 #E56A92 #D0E56A #6AE5BC
square
#7F6AE5 #E56A92 #D0E56A #6AE5BC
split-complementary
#7F6AE5 #E5BC6A #92E56A
monochromatic
#3920B5 #5236DC #7F6AE5 #AC9EEE #D9D2F7

Accessibility & contrast

On white

4.12
#7F6AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7F6AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6AE5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6AE5#FFFFFF#000000##000000
##7F6AE51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80E9
Deuteranopia (green-blind)
#2A7AE2
Tritanopia (blue-blind)
#5F859D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f6ae5;
/* rgb */ color: rgb(127, 106, 229);
/* oklch */ color: oklch(60.5% 0.179 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa95ee',
    500: '#7f6ae5',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ae5;
$custom-light: #aa95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ae5",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 250.244,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.17925,
    "h": 287.6
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#7F6AE5
secondary
#E3EAC1
accent
#D213B2
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7F6AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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