#7A66F4#7A66F4

#7A66F4 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.5% C 0.204 H 284.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7A66F4
RGBrgb(122, 102, 244)
HSLhsl(248, 87%, 68%)
HSVhsv(248, 58%, 96%)
CMYKcmyk(50%, 58.2%, 0%, 4.3%)
CIE-LABlab(52.03, 43.77, -68.95)
CIE-LCHlch(52.03, 81.67, 302.41°)
OKLaboklab(60.46% 0.0526 -0.1973)
OKLCHoklch(60.46% 0.204 284.9)
XYZxyz(29.1017, 20.1705, 87.9303)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66F4 #E0F466
analogous
#6699F4 #7A66F4 #C166F4
triadic
#7A66F4 #F47A66 #66F47A
tetradic
#7A66F4 #F46699 #E0F466 #66F4C1
square
#7A66F4 #F46699 #E0F466 #66F4C1
split-complementary
#7A66F4 #F4C166 #99F466
monochromatic
#2A0FD1 #482DF0 #7A66F4 #AC9FF8 #DDD8FC

Accessibility & contrast

On white

4.17
#7A66F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7A66F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66F4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66F4#FFFFFF#000000##000000
##7A66F41.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#4C87A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a66f4;
/* rgb */ color: rgb(122, 102, 244);
/* oklch */ color: oklch(60.5% 0.204 284.9);
Tailwind
colors: {
  custom: {
    50: '#a992f9',
    500: '#7a66f4',
    950: '#000000',
  },
}
SCSS
$custom: #7a66f4;
$custom-light: #a992f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66f4",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 248.451,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60461,
    "c": 0.20424,
    "h": 284.9
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#7A66F4
secondary
#EBF1C5
accent
#E302C3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A66F4

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

Preview Lab → · Contrast checker → · Palette generator →

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