#7A6DF6#7A6DF6

#7A6DF6 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.8% C 0.198 H 283.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7A6DF6
RGBrgb(122, 109, 246)
HSLhsl(246, 88%, 70%)
HSVhsv(246, 56%, 96%)
CMYKcmyk(50.4%, 55.7%, 0%, 3.5%)
CIE-LABlab(53.74, 40.31, -67.31)
CIE-LCHlch(53.74, 78.46, 300.92°)
OKLaboklab(61.76% 0.0453 -0.1925)
OKLCHoklch(61.76% 0.198 283.2)
XYZxyz(30.1242, 21.7271, 89.7773)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6DF6 #E9F66D
analogous
#6DA5F6 #7A6DF6 #BE6DF6
triadic
#7A6DF6 #F67A6D #6DF67A
tetradic
#7A6DF6 #F66DA5 #E9F66D #6DF6BE
square
#7A6DF6 #F66DA5 #E9F66D #6DF6BE
split-complementary
#7A6DF6 #F6BE6D #A5F66D
monochromatic
#210EDB #4533F2 #7A6DF6 #AFA7FA #E3E0FD

Accessibility & contrast

On white

3.93
#7A6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7A6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6DF6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6DF6#FFFFFF#000000##000000
##7A6DF61.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0685FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#4A8CA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6df6;
/* rgb */ color: rgb(122, 109, 246);
/* oklch */ color: oklch(61.8% 0.198 283.2);
Tailwind
colors: {
  custom: {
    50: '#a997fa',
    500: '#7a6df6',
    950: '#000000',
  },
}
SCSS
$custom: #7a6df6;
$custom-light: #a997fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6df6",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 245.693,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.19773,
    "h": 283.2
  },
  "luminance": 0.21729
}

Semantic roles & 50–950 ramp

primary
#7A6DF6
secondary
#EFF3CC
accent
#E501CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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