#7A66F5#7A66F5

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

Color values

HEX#7A66F5
RGBrgb(122, 102, 245)
HSLhsl(248, 88%, 68%)
HSVhsv(248, 58%, 96%)
CMYKcmyk(50.2%, 58.4%, 0%, 3.9%)
CIE-LABlab(52.10, 44.06, -69.40)
CIE-LCHlch(52.10, 82.21, 302.41°)
OKLaboklab(60.53% 0.0526 -0.1987)
OKLCHoklch(60.53% 0.206 284.8)
XYZxyz(29.2539, 20.2314, 88.7321)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66F5 #E1F566
analogous
#6699F5 #7A66F5 #C266F5
triadic
#7A66F5 #F57A66 #66F57A
tetradic
#7A66F5 #F56699 #E1F566 #66F5C2
square
#7A66F5 #F56699 #E1F566 #66F5C2
split-complementary
#7A66F5 #F5C266 #99F566
monochromatic
#290ED3 #482DF1 #7A66F5 #AC9FF9 #DED9FD

Accessibility & contrast

On white

4.16
#7A66F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7A66F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66F5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66F5#FFFFFF#000000##000000
##7A66F51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#4B87A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a66f5;
/* rgb */ color: rgb(122, 102, 245);
/* oklch */ color: oklch(60.5% 0.205 284.8);
Tailwind
colors: {
  custom: {
    50: '#a992f9',
    500: '#7a66f5',
    950: '#000000',
  },
}
SCSS
$custom: #7a66f5;
$custom-light: #a992f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66f5",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 248.392,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.2055,
    "h": 284.8
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#7A66F5
secondary
#EBF1C6
accent
#E401C5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A66F5

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

Preview Lab → · Contrast checker → · Palette generator →

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