#7A66F8#7A66F8

#7A66F8 is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.8% C 0.209 H 284.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7A66F8
RGBrgb(122, 102, 248)
HSLhsl(248, 91%, 69%)
HSVhsv(248, 59%, 97%)
CMYKcmyk(50.8%, 58.9%, 0%, 2.7%)
CIE-LABlab(52.30, 44.94, -70.74)
CIE-LCHlch(52.30, 83.80, 302.43°)
OKLaboklab(60.75% 0.0525 -0.2026)
OKLCHoklch(60.75% 0.209 284.5)
XYZxyz(29.7156, 20.4161, 91.1636)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66F8 #E4F866
analogous
#669BF8 #7A66F8 #C366F8
triadic
#7A66F8 #F87A66 #66F87A
tetradic
#7A66F8 #F8669B #E4F866 #66F8C3
square
#7A66F8 #F8669B #E4F866 #66F8C3
split-complementary
#7A66F8 #F8C366 #9BF866
monochromatic
#260ADA #472BF5 #7A66F8 #ADA1FB #E0DBFD

Accessibility & contrast

On white

4.13
#7A66F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7A66F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66F8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66F8#FFFFFF#000000##000000
##7A66F81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#4988A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a66f8;
/* rgb */ color: rgb(122, 102, 248);
/* oklch */ color: oklch(60.8% 0.209 284.5);
Tailwind
colors: {
  custom: {
    50: '#a992fb',
    500: '#7a66f8',
    950: '#000000',
  },
}
SCSS
$custom: #7a66f8;
$custom-light: #a992fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66f8",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 248.219,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.20928,
    "h": 284.5
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#7A66F8
secondary
#EDF3C7
accent
#E600C6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A66F8

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

Preview Lab → · Contrast checker → · Palette generator →

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