#7B66F4#7B66F4

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

Color values

HEX#7B66F4
RGBrgb(123, 102, 244)
HSLhsl(249, 87%, 68%)
HSVhsv(249, 58%, 96%)
CMYKcmyk(49.6%, 58.2%, 0%, 4.3%)
CIE-LABlab(52.11, 43.96, -68.82)
CIE-LCHlch(52.11, 81.66, 302.57°)
OKLaboklab(60.54% 0.0538 -0.1969)
OKLCHoklch(60.54% 0.204 285.3)
XYZxyz(29.2440, 20.2439, 87.9370)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66F4 #DFF466
analogous
#6698F4 #7B66F4 #C266F4
triadic
#7B66F4 #F47B66 #66F47B
tetradic
#7B66F4 #F46698 #DFF466 #66F4C2
square
#7B66F4 #F46698 #DFF466 #66F4C2
split-complementary
#7B66F4 #F4C266 #98F466
monochromatic
#2C0FD1 #4A2DF0 #7B66F4 #AC9FF8 #DED8FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B66F4#FFFFFF#000000##000000
##7B66F41.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)
#0080F9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#4E87A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b66f4;
/* rgb */ color: rgb(123, 102, 244);
/* oklch */ color: oklch(60.5% 0.204 285.3);
Tailwind
colors: {
  custom: {
    50: '#aa92f9',
    500: '#7b66f4',
    950: '#000000',
  },
}
SCSS
$custom: #7b66f4;
$custom-light: #aa92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66f4",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 248.873,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.20414,
    "h": 285.3
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#7B66F4
secondary
#EAF1C5
accent
#E302C2
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B66F4

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

Preview Lab → · Contrast checker → · Palette generator →

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