#7B66F7#7B66F7

#7B66F7 is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.8% C 0.208 H 285.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B66F7
RGBrgb(123, 102, 247)
HSLhsl(249, 90%, 68%)
HSVhsv(249, 59%, 97%)
CMYKcmyk(50.2%, 58.7%, 0%, 3.1%)
CIE-LABlab(52.32, 44.84, -70.16)
CIE-LCHlch(52.32, 83.26, 302.58°)
OKLaboklab(60.76% 0.0538 -0.2008)
OKLCHoklch(60.76% 0.208 285)
XYZxyz(29.7032, 20.4276, 90.3554)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66F7 #E2F766
analogous
#6699F7 #7B66F7 #C466F7
triadic
#7B66F7 #F77B66 #66F77B
tetradic
#7B66F7 #F76699 #E2F766 #66F7C4
square
#7B66F7 #F76699 #E2F766 #66F7C4
split-complementary
#7B66F7 #F7C466 #99F766
monochromatic
#290BD7 #492CF4 #7B66F7 #ADA0FA #DFDAFD

Accessibility & contrast

On white

4.13
#7B66F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7B66F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66F7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66F7#FFFFFF#000000##000000
##7B66F71.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#4C88A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b66f7;
/* rgb */ color: rgb(123, 102, 247);
/* oklch */ color: oklch(60.8% 0.208 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa92fb',
    500: '#7b66f7',
    950: '#000000',
  },
}
SCSS
$custom: #7b66f7;
$custom-light: #aa92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66f7",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 248.69,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60758,
    "c": 0.20792,
    "h": 285
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#7B66F7
secondary
#ECF2C7
accent
#E600C4
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B66F7

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

Preview Lab → · Contrast checker → · Palette generator →

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