#7A6AF3#7A6AF3

#7A6AF3 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 61.1% C 0.198 H 284.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7A6AF3
RGBrgb(122, 106, 243)
HSLhsl(247, 85%, 68%)
HSVhsv(247, 56%, 95%)
CMYKcmyk(49.8%, 56.4%, 0%, 4.7%)
CIE-LABlab(52.86, 41.17, -67.06)
CIE-LCHlch(52.86, 78.69, 301.55°)
OKLaboklab(61.05% 0.0485 -0.1917)
OKLCHoklch(61.05% 0.198 284.2)
XYZxyz(29.3529, 20.9152, 87.2670)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AF3 #E3F36A
analogous
#6A9EF3 #7A6AF3 #BE6AF3
triadic
#7A6AF3 #F37A6A #6AF37A
tetradic
#7A6AF3 #F36A9E #E3F36A #6AF3BE
square
#7A6AF3 #F36A9E #E3F36A #6AF3BE
split-complementary
#7A6AF3 #F3BE6A #9EF36A
monochromatic
#2711D2 #4731EE #7A6AF3 #ADA3F8 #DFDBFC

Accessibility & contrast

On white

4.05
#7A6AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7A6AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AF3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AF3#FFFFFF#000000##000000
##7A6AF31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#4C89A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a6af3;
/* rgb */ color: rgb(122, 106, 243);
/* oklch */ color: oklch(61.1% 0.198 284.2);
Tailwind
colors: {
  custom: {
    50: '#a995f8',
    500: '#7a6af3',
    950: '#000000',
  },
}
SCSS
$custom: #7a6af3;
$custom-light: #a995f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6af3",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 243
  },
  "hsl": {
    "h": 247.007,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6105,
    "c": 0.19778,
    "h": 284.2
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#7A6AF3
secondary
#ECF1C8
accent
#E204C8
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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