#7A6FE5#7A6FE5

#7A6FE5 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.0% C 0.173 H 284.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7A6FE5
RGBrgb(122, 111, 229)
HSLhsl(246, 69%, 67%)
HSVhsv(246, 52%, 90%)
CMYKcmyk(46.7%, 51.5%, 0%, 10.2%)
CIE-LABlab(53.13, 34.13, -58.79)
CIE-LCHlch(53.13, 67.98, 300.14°)
OKLaboklab(60.97% 0.0425 -0.1674)
OKLCHoklch(60.97% 0.173 284.3)
XYZxyz(27.8492, 21.1623, 76.7309)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6FE5 #DAE56F
analogous
#6F9FE5 #7A6FE5 #B56FE5
triadic
#7A6FE5 #E57A6F #6FE57A
tetradic
#7A6FE5 #E56F9F #DAE56F #6FE5B5
square
#7A6FE5 #E56F9F #DAE56F #6FE5B5
split-complementary
#7A6FE5 #E5B56F #9FE56F
monochromatic
#2F21B8 #4A3BDC #7A6FE5 #AAA3EE #DAD7F8

Accessibility & contrast

On white

4.01
#7A6FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7A6FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6FE5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6FE5#FFFFFF#000000##000000
##7A6FE51.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3682E9
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#56899F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6fe5;
/* rgb */ color: rgb(122, 111, 229);
/* oklch */ color: oklch(61.0% 0.173 284.3);
Tailwind
colors: {
  custom: {
    50: '#a798ee',
    500: '#7a6fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7a6fe5;
$custom-light: #a798ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6fe5",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 245.593,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.17274,
    "h": 284.3
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

primary
#7A6FE5
secondary
#E7EBC5
accent
#D114C0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A6FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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