#7A66E7#7A66E7

#7A66E7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.5% C 0.188 H 286.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7A66E7
RGBrgb(122, 102, 231)
HSLhsl(249, 73%, 65%)
HSVhsv(249, 56%, 91%)
CMYKcmyk(47.2%, 55.8%, 0%, 9.4%)
CIE-LABlab(51.16, 39.99, -63.08)
CIE-LCHlch(51.16, 74.69, 302.37°)
OKLaboklab(59.55% 0.0527 -0.1801)
OKLCHoklch(59.55% 0.188 286.3)
XYZxyz(27.1970, 19.4086, 77.8990)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66E7 #D3E766
analogous
#6693E7 #7A66E7 #BA66E7
triadic
#7A66E7 #E77A66 #66E77A
tetradic
#7A66E7 #E76693 #D3E766 #66E7BA
square
#7A66E7 #E76693 #D3E766 #66E7BA
split-complementary
#7A66E7 #E7BA66 #93E766
monochromatic
#341DB6 #4C31DF #7A66E7 #A89BEF #D6D0F8

Accessibility & contrast

On white

4.30
#7A66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7A66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66E7#FFFFFF#000000##000000
##7A66E71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#117DEB
Deuteranopia (green-blind)
#0C76E4
Tritanopia (blue-blind)
#55839D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a66e7;
/* rgb */ color: rgb(122, 102, 231);
/* oklch */ color: oklch(59.5% 0.188 286.3);
Tailwind
colors: {
  custom: {
    50: '#a792ef',
    500: '#7a66e7',
    950: '#000000',
  },
}
SCSS
$custom: #7a66e7;
$custom-light: #a792ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66e7",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 249.302,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.18763,
    "h": 286.3
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#7A66E7
secondary
#E3EABF
accent
#D511B7
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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