#7A6AFE#7A6AFE

#7A6AFE is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.8% C 0.212 H 283.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A6AFE
RGBrgb(122, 106, 254)
HSLhsl(246, 99%, 71%)
HSVhsv(246, 58%, 100%)
CMYKcmyk(52%, 58.3%, 0%, 0.4%)
CIE-LABlab(53.60, 44.41, -71.96)
CIE-LCHlch(53.60, 84.57, 301.68°)
OKLaboklab(61.83% 0.0483 -0.2062)
OKLCHoklch(61.83% 0.212 283.2)
XYZxyz(31.0640, 21.5997, 96.2790)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AFE #EEFE6A
analogous
#6AA4FE #7A6AFE #C46AFE
triadic
#7A6AFE #FE7A6A #6AFE7A
tetradic
#7A6AFE #FE6AA4 #EEFE6A #6AFEC4
square
#7A6AFE #FE6AA4 #EEFE6A #6AFEC4
split-complementary
#7A6AFE #FEC46A #A4FE6A
monochromatic
#1B02EC #442DFE #7A6AFE #B0A7FE #E4E1FF

Accessibility & contrast

On white

3.95
#7A6AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7A6AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AFE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AFE#FFFFFF#000000##000000
##7A6AFE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#438DAA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6afe;
/* rgb */ color: rgb(122, 106, 254);
/* oklch */ color: oklch(61.8% 0.212 283.2);
Tailwind
colors: {
  custom: {
    50: '#aa95ff',
    500: '#7a6afe',
    950: '#000000',
  },
}
SCSS
$custom: #7a6afe;
$custom-light: #aa95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6afe",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 246.486,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.21176,
    "h": 283.2
  },
  "luminance": 0.21601
}

Semantic roles & 50–950 ramp

primary
#7A6AFE
secondary
#F2F6CE
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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