#7A66E5#7A66E5

#7A66E5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.4% C 0.185 H 286.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7A66E5
RGBrgb(122, 102, 229)
HSLhsl(249, 71%, 65%)
HSVhsv(249, 55%, 90%)
CMYKcmyk(46.7%, 55.5%, 0%, 10.2%)
CIE-LABlab(51.03, 39.41, -62.16)
CIE-LCHlch(51.03, 73.61, 302.37°)
OKLaboklab(59.41% 0.0527 -0.1774)
OKLCHoklch(59.41% 0.185 286.6)
XYZxyz(26.9162, 19.2963, 76.4199)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66E5 #D1E566
analogous
#6691E5 #7A66E5 #BA66E5
triadic
#7A66E5 #E57A66 #66E57A
tetradic
#7A66E5 #E56691 #D1E566 #66E5BA
square
#7A66E5 #E56691 #D1E566 #66E5BA
split-complementary
#7A66E5 #E5BA66 #91E566
monochromatic
#361EB2 #4D32DC #7A66E5 #A79AEE #D5CFF7

Accessibility & contrast

On white

4.32
#7A66E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7A66E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66E5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66E5#FFFFFF#000000##000000
##7A66E51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#187DE9
Deuteranopia (green-blind)
#1476E2
Tritanopia (blue-blind)
#56829C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a66e5;
/* rgb */ color: rgb(122, 102, 229);
/* oklch */ color: oklch(59.4% 0.185 286.6);
Tailwind
colors: {
  custom: {
    50: '#a792ee',
    500: '#7a66e5',
    950: '#000000',
  },
}
SCSS
$custom: #7a66e5;
$custom-light: #a792ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66e5",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 249.449,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.18504,
    "h": 286.6
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#7A66E5
secondary
#E2E9BE
accent
#D313B5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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