#7B66F8#7B66F8

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

Color values

HEX#7B66F8
RGBrgb(123, 102, 248)
HSLhsl(249, 91%, 69%)
HSVhsv(249, 59%, 97%)
CMYKcmyk(50.4%, 58.9%, 0%, 2.7%)
CIE-LABlab(52.39, 45.13, -70.60)
CIE-LCHlch(52.39, 83.79, 302.59°)
OKLaboklab(60.83% 0.0537 -0.2022)
OKLCHoklch(60.83% 0.209 284.9)
XYZxyz(29.8580, 20.4895, 91.1703)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66F8 #E3F866
analogous
#669AF8 #7B66F8 #C466F8
triadic
#7B66F8 #F87B66 #66F87B
tetradic
#7B66F8 #F8669A #E3F866 #66F8C4
square
#7B66F8 #F8669A #E3F866 #66F8C4
split-complementary
#7B66F8 #F8C466 #9AF866
monochromatic
#280ADA #492BF5 #7B66F8 #ADA1FB #E0DBFD

Accessibility & contrast

On white

4.12
#7B66F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7B66F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66F8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66F8#FFFFFF#000000##000000
##7B66F81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b66f8;
/* rgb */ color: rgb(123, 102, 248);
/* oklch */ color: oklch(60.8% 0.209 284.9);
Tailwind
colors: {
  custom: {
    50: '#aa92fb',
    500: '#7b66f8',
    950: '#000000',
  },
}
SCSS
$custom: #7b66f8;
$custom-light: #aa92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66f8",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 248.63,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.20918,
    "h": 284.9
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#7B66F8
secondary
#ECF3C7
accent
#E600C4
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7B66F8

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

Preview Lab → · Contrast checker → · Palette generator →

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