#7A6FE2#7A6FE2

#7A6FE2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.8% C 0.169 H 284.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7A6FE2
RGBrgb(122, 111, 226)
HSLhsl(246, 66%, 66%)
HSVhsv(246, 51%, 89%)
CMYKcmyk(46%, 50.9%, 0%, 11.4%)
CIE-LABlab(52.95, 33.26, -57.40)
CIE-LCHlch(52.95, 66.34, 300.09°)
OKLaboklab(60.77% 0.0423 -0.1633)
OKLCHoklch(60.77% 0.169 284.5)
XYZxyz(27.4339, 20.9962, 74.5439)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6FE2 #D7E26F
analogous
#6F9DE2 #7A6FE2 #B36FE2
triadic
#7A6FE2 #E27A6F #6FE27A
tetradic
#7A6FE2 #E26F9D #D7E26F #6FE2B3
square
#7A6FE2 #E26F9D #D7E26F #6FE2B3
split-complementary
#7A6FE2 #E2B36F #9DE26F
monochromatic
#3224B3 #4B3CD8 #7A6FE2 #A9A2EC #D8D5F7

Accessibility & contrast

On white

4.04
#7A6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7A6FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6FE2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6FE2#FFFFFF#000000##000000
##7A6FE21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#347BDF
Tritanopia (blue-blind)
#57889E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a6fe2;
/* rgb */ color: rgb(122, 111, 226);
/* oklch */ color: oklch(60.8% 0.169 284.5);
Tailwind
colors: {
  custom: {
    50: '#a698ec',
    500: '#7a6fe2',
    950: '#000000',
  },
}
SCSS
$custom: #7a6fe2;
$custom-light: #a698ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6fe2",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 245.739,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.16872,
    "h": 284.5
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#7A6FE2
secondary
#E6E9C4
accent
#CE17BD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A6FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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