#7A66FE#7A66FE

#7A66FE is a mid, highly saturated blue. Relative luminance 0.208; OKLCH L 61.2% C 0.217 H 283.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7A66FE
RGBrgb(122, 102, 254)
HSLhsl(248, 99%, 70%)
HSVhsv(248, 60%, 100%)
CMYKcmyk(52%, 59.8%, 0%, 0.4%)
CIE-LABlab(52.72, 46.69, -73.39)
CIE-LCHlch(52.72, 86.98, 302.47°)
OKLaboklab(61.19% 0.0522 -0.2104)
OKLCHoklch(61.19% 0.217 283.9)
XYZxyz(30.6614, 20.7944, 96.1448)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66FE #EAFE66
analogous
#669EFE #7A66FE #C666FE
triadic
#7A66FE #FE7A66 #66FE7A
tetradic
#7A66FE #FE669E #EAFE66 #66FEC6
square
#7A66FE #FE669E #EAFE66 #66FEC6
split-complementary
#7A66FE #FEC666 #9EFE66
monochromatic
#2002E8 #4529FE #7A66FE #AFA3FE #E4E0FF

Accessibility & contrast

On white

4.07
#7A66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7A66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66FE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66FE#FFFFFF#000000##000000
##7A66FE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#438AA8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a66fe;
/* rgb */ color: rgb(122, 102, 254);
/* oklch */ color: oklch(61.2% 0.217 283.9);
Tailwind
colors: {
  custom: {
    50: '#aa92ff',
    500: '#7a66fe',
    950: '#000000',
  },
}
SCSS
$custom: #7a66fe;
$custom-light: #aa92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66fe",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 247.895,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6119,
    "c": 0.21677,
    "h": 283.9
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#7A66FE
secondary
#F0F5CA
accent
#E600C7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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