#7A66EA#7A66EA

#7A66EA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.8% C 0.192 H 286.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7A66EA
RGBrgb(122, 102, 234)
HSLhsl(249, 76%, 66%)
HSVhsv(249, 56%, 92%)
CMYKcmyk(47.9%, 56.4%, 0%, 8.2%)
CIE-LABlab(51.36, 40.86, -64.45)
CIE-LCHlch(51.36, 76.31, 302.37°)
OKLaboklab(59.75% 0.0527 -0.1841)
OKLCHoklch(59.75% 0.192 286)
XYZxyz(27.6243, 19.5796, 80.1496)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66EA #D6EA66
analogous
#6694EA #7A66EA #BC66EA
triadic
#7A66EA #EA7A66 #66EA7A
tetradic
#7A66EA #EA6694 #D6EA66 #66EABC
square
#7A66EA #EA6694 #D6EA66 #66EABC
split-complementary
#7A66EA #EABC66 #94EA66
monochromatic
#321ABC #4B30E3 #7A66EA #A99CF1 #D8D2F9

Accessibility & contrast

On white

4.27
#7A66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7A66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66EA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66EA#FFFFFF#000000##000000
##7A66EA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#037EEE
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#53849E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a66ea;
/* rgb */ color: rgb(122, 102, 234);
/* oklch */ color: oklch(59.8% 0.192 286.0);
Tailwind
colors: {
  custom: {
    50: '#a892f1',
    500: '#7a66ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a66ea;
$custom-light: #a892f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66ea",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 249.091,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.1915,
    "h": 286
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#7A66EA
secondary
#E5ECC0
accent
#D80DB9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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