#7A6AF4#7A6AF4

#7A6AF4 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.1% C 0.199 H 284.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7A6AF4
RGBrgb(122, 106, 244)
HSLhsl(247, 86%, 69%)
HSVhsv(247, 57%, 96%)
CMYKcmyk(50%, 56.6%, 0%, 4.3%)
CIE-LABlab(52.92, 41.47, -67.51)
CIE-LCHlch(52.92, 79.23, 301.56°)
OKLaboklab(61.12% 0.0485 -0.1931)
OKLCHoklch(61.12% 0.199 284.1)
XYZxyz(29.5043, 20.9758, 88.0645)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AF4 #E4F46A
analogous
#6A9FF4 #7A6AF4 #BF6AF4
triadic
#7A6AF4 #F47A6A #6AF47A
tetradic
#7A6AF4 #F46A9F #E4F46A #6AF4BF
square
#7A6AF4 #F46A9F #E4F46A #6AF4BF
split-complementary
#7A6AF4 #F4BF6A #9FF46A
monochromatic
#2610D4 #4731F0 #7A6AF4 #ADA3F8 #E0DCFC

Accessibility & contrast

On white

4.04
#7A6AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7A6AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AF4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AF4#FFFFFF#000000##000000
##7A6AF41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#4C8AA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a6af4;
/* rgb */ color: rgb(122, 106, 244);
/* oklch */ color: oklch(61.1% 0.199 284.1);
Tailwind
colors: {
  custom: {
    50: '#a995f9',
    500: '#7a6af4',
    950: '#000000',
  },
}
SCSS
$custom: #7a6af4;
$custom-light: #a995f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6af4",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 244
  },
  "hsl": {
    "h": 246.957,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6112,
    "c": 0.19906,
    "h": 284.1
  },
  "luminance": 0.20977
}

Semantic roles & 50–950 ramp

primary
#7A6AF4
secondary
#EDF1C8
accent
#E303C9
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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