#7A66FB#7A66FB

#7A66FB is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 61.0% C 0.213 H 284.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7A66FB
RGBrgb(122, 102, 251)
HSLhsl(248, 95%, 69%)
HSVhsv(248, 59%, 98%)
CMYKcmyk(51.4%, 59.4%, 0%, 1.6%)
CIE-LABlab(52.51, 45.81, -72.06)
CIE-LCHlch(52.51, 85.39, 302.45°)
OKLaboklab(60.97% 0.0524 -0.2065)
OKLCHoklch(60.97% 0.213 284.2)
XYZxyz(30.1847, 20.6037, 93.6345)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66FB #E7FB66
analogous
#669DFB #7A66FB #C566FB
triadic
#7A66FB #FB7A66 #66FB7A
tetradic
#7A66FB #FB669D #E7FB66 #66FBC5
square
#7A66FB #FB669D #E7FB66 #66FBC5
split-complementary
#7A66FB #FBC566 #9DFB66
monochromatic
#2306E1 #462AF9 #7A66FB #AEA2FD #E2DDFE

Accessibility & contrast

On white

4.10
#7A66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7A66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66FB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66FB#FFFFFF#000000##000000
##7A66FB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a66fb;
/* rgb */ color: rgb(122, 102, 251);
/* oklch */ color: oklch(61.0% 0.213 284.2);
Tailwind
colors: {
  custom: {
    50: '#aa92fe',
    500: '#7a66fb',
    950: '#000000',
  },
}
SCSS
$custom: #7a66fb;
$custom-light: #aa92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66fb",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 248.054,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6097,
    "c": 0.21303,
    "h": 284.2
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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