#7A6AFA#7A6AFA

#7A6AFA is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.5% C 0.207 H 283.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A6AFA
RGBrgb(122, 106, 250)
HSLhsl(247, 94%, 70%)
HSVhsv(247, 58%, 98%)
CMYKcmyk(51.2%, 57.6%, 0%, 2%)
CIE-LABlab(53.33, 43.23, -70.19)
CIE-LCHlch(53.33, 82.44, 301.63°)
OKLaboklab(61.55% 0.0484 -0.201)
OKLCHoklch(61.55% 0.207 283.5)
XYZxyz(30.4302, 21.3461, 92.9407)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AFA #EAFA6A
analogous
#6AA2FA #7A6AFA #C26AFA
triadic
#7A6AFA #FA7A6A #6AFA7A
tetradic
#7A6AFA #FA6AA2 #EAFA6A #6AFAC2
square
#7A6AFA #FA6AA2 #EAFA6A #6AFAC2
split-complementary
#7A6AFA #FAC26A #A2FA6A
monochromatic
#2008E2 #452FF8 #7A6AFA #AFA5FC #E4E0FE

Accessibility & contrast

On white

3.99
#7A6AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7A6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AFA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AFA#FFFFFF#000000##000000
##7A6AFA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#478BA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6afa;
/* rgb */ color: rgb(122, 106, 250);
/* oklch */ color: oklch(61.5% 0.207 283.5);
Tailwind
colors: {
  custom: {
    50: '#a995fd',
    500: '#7a6afa',
    950: '#000000',
  },
}
SCSS
$custom: #7a6afa;
$custom-light: #a995fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6afa",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 246.667,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.20671,
    "h": 283.5
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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