#7A6EF6#7A6EF6

#7A6EF6 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.9% C 0.196 H 283.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7A6EF6
RGBrgb(122, 110, 246)
HSLhsl(245, 88%, 70%)
HSVhsv(245, 55%, 96%)
CMYKcmyk(50.4%, 55.3%, 0%, 3.5%)
CIE-LABlab(53.97, 39.73, -66.94)
CIE-LCHlch(53.97, 77.84, 300.69°)
OKLaboklab(61.93% 0.0443 -0.1914)
OKLCHoklch(61.93% 0.196 283)
XYZxyz(30.2315, 21.9416, 89.8131)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6EF6 #EAF66E
analogous
#6EA6F6 #7A6EF6 #BE6EF6
triadic
#7A6EF6 #F67A6E #6EF67A
tetradic
#7A6EF6 #F66EA6 #EAF66E #6EF6BE
square
#7A6EF6 #F66EA6 #EAF66E #6EF6BE
split-complementary
#7A6EF6 #F6BE6E #A6F66E
monochromatic
#200EDC #4534F2 #7A6EF6 #AFA8FA #E4E1FD

Accessibility & contrast

On white

3.90
#7A6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7A6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6EF6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6EF6#FFFFFF#000000##000000
##7A6EF61.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F85FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#4A8DA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a6ef6;
/* rgb */ color: rgb(122, 110, 246);
/* oklch */ color: oklch(61.9% 0.196 283.0);
Tailwind
colors: {
  custom: {
    50: '#a998fa',
    500: '#7a6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #7a6ef6;
$custom-light: #a998fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6ef6",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 245.294,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.19642,
    "h": 283
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#7A6EF6
secondary
#F0F3CD
accent
#E501D1
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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