#7A6AF8#7A6AF8

#7A6AF8 is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.4% C 0.204 H 283.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7A6AF8
RGBrgb(122, 106, 248)
HSLhsl(247, 91%, 69%)
HSVhsv(247, 57%, 97%)
CMYKcmyk(50.8%, 57.3%, 0%, 2.7%)
CIE-LABlab(53.19, 42.64, -69.30)
CIE-LCHlch(53.19, 81.37, 301.61°)
OKLaboklab(61.4% 0.0484 -0.1983)
OKLCHoklch(61.4% 0.204 283.7)
XYZxyz(30.1182, 21.2213, 91.2979)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AF8 #E8F86A
analogous
#6AA1F8 #7A6AF8 #C16AF8
triadic
#7A6AF8 #F87A6A #6AF87A
tetradic
#7A6AF8 #F86AA1 #E8F86A #6AF8C1
square
#7A6AF8 #F86AA1 #E8F86A #6AF8C1
split-complementary
#7A6AF8 #F8C16A #A1F86A
monochromatic
#220ADD #4630F5 #7A6AF8 #AEA4FB #E2DFFD

Accessibility & contrast

On white

4.00
#7A6AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7A6AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AF8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AF8#FFFFFF#000000##000000
##7A6AF81.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#488BA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6af8;
/* rgb */ color: rgb(122, 106, 248);
/* oklch */ color: oklch(61.4% 0.204 283.7);
Tailwind
colors: {
  custom: {
    50: '#a995fb',
    500: '#7a6af8',
    950: '#000000',
  },
}
SCSS
$custom: #7a6af8;
$custom-light: #a995fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6af8",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 246.761,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.20416,
    "h": 283.7
  },
  "luminance": 0.21223
}

Semantic roles & 50–950 ramp

primary
#7A6AF8
secondary
#EFF3CA
accent
#E600CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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