#7A6AFF#7A6AFF

#7A6AFF is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.9% C 0.213 H 283.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7A6AFF
RGBrgb(122, 106, 255)
HSLhsl(246, 100%, 71%)
HSVhsv(246, 58%, 100%)
CMYKcmyk(52.2%, 58.4%, 0%, 0%)
CIE-LABlab(53.67, 44.71, -72.41)
CIE-LCHlch(53.67, 85.10, 301.69°)
OKLaboklab(61.91% 0.0483 -0.2075)
OKLCHoklch(61.91% 0.213 283.1)
XYZxyz(31.2246, 21.6639, 97.1246)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AFF #EFFF6A
analogous
#6AA4FF #7A6AFF #C46AFF
triadic
#7A6AFF #FF7A6A #6AFF7A
tetradic
#7A6AFF #FF6AA4 #EFFF6A #6AFFC4
square
#7A6AFF #FF6AA4 #EFFF6A #6AFFC4
split-complementary
#7A6AFF #FFC46A #A4FF6A
monochromatic
#1A00EF #432DFF #7A6AFF #B1A7FF #E4E0FF

Accessibility & contrast

On white

3.94
#7A6AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7A6AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AFF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AFF#FFFFFF#000000##000000
##7A6AFF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a6aff;
/* rgb */ color: rgb(122, 106, 255);
/* oklch */ color: oklch(61.9% 0.213 283.1);
Tailwind
colors: {
  custom: {
    50: '#aa95ff',
    500: '#7a6aff',
    950: '#000000',
  },
}
SCSS
$custom: #7a6aff;
$custom-light: #aa95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6aff",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 246.443,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.61906,
    "c": 0.21302,
    "h": 283.1
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A6AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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