#7A66FC#7A66FC

#7A66FC is a mid, highly saturated blue. Relative luminance 0.207; OKLCH L 61.0% C 0.214 H 284.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7A66FC
RGBrgb(122, 102, 252)
HSLhsl(248, 96%, 69%)
HSVhsv(248, 60%, 99%)
CMYKcmyk(51.6%, 59.5%, 0%, 1.2%)
CIE-LABlab(52.58, 46.11, -72.51)
CIE-LCHlch(52.58, 85.92, 302.45°)
OKLaboklab(61.04% 0.0523 -0.2078)
OKLCHoklch(61.04% 0.214 284.1)
XYZxyz(30.3428, 20.6669, 94.4669)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66FC #E8FC66
analogous
#669DFC #7A66FC #C566FC
triadic
#7A66FC #FC7A66 #66FC7A
tetradic
#7A66FC #FC669D #E8FC66 #66FCC5
square
#7A66FC #FC669D #E8FC66 #66FCC5
split-complementary
#7A66FC #FCC566 #9DFC66
monochromatic
#2204E3 #462AFB #7A66FC #AEA2FD #E2DEFE

Accessibility & contrast

On white

4.09
#7A66FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7A66FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66FC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66FC#FFFFFF#000000##000000
##7A66FC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0079F9
Tritanopia (blue-blind)
#4589A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a66fc;
/* rgb */ color: rgb(122, 102, 252);
/* oklch */ color: oklch(61.0% 0.214 284.1);
Tailwind
colors: {
  custom: {
    50: '#aa92fe',
    500: '#7a66fc',
    950: '#000000',
  },
}
SCSS
$custom: #7a66fc;
$custom-light: #aa92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66fc",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 248,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61043,
    "c": 0.21428,
    "h": 284.1
  },
  "luminance": 0.20669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A66FC

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

Preview Lab → · Contrast checker → · Palette generator →

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