#7666EB#7666EB

#7666EB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.5% C 0.193 H 284.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7666EB
RGBrgb(118, 102, 235)
HSLhsl(247, 77%, 66%)
HSVhsv(247, 57%, 92%)
CMYKcmyk(49.8%, 56.6%, 0%, 7.8%)
CIE-LABlab(51.10, 40.34, -65.45)
CIE-LCHlch(51.10, 76.88, 301.65°)
OKLaboklab(59.5% 0.0478 -0.1871)
OKLCHoklch(59.5% 0.193 284.3)
XYZxyz(27.2135, 19.3511, 80.8823)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7666EB #DBEB66
analogous
#6698EB #7666EB #B866EB
triadic
#7666EB #EB7666 #66EB76
tetradic
#7666EB #EB6698 #DBEB66 #66EBB8
square
#7666EB #EB6698 #DBEB66 #66EBB8
split-complementary
#7666EB #EBB866 #98EB66
monochromatic
#2D19BE #4630E4 #7666EB #A69CF2 #D7D2F9

Accessibility & contrast

On white

4.31
#7666EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7666EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7666EB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7666EB#FFFFFF#000000##000000
##7666EB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#4A849F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7666eb;
/* rgb */ color: rgb(118, 102, 235);
/* oklch */ color: oklch(59.5% 0.193 284.3);
Tailwind
colors: {
  custom: {
    50: '#a592f2',
    500: '#7666eb',
    950: '#000000',
  },
}
SCSS
$custom: #7666eb;
$custom-light: #a592f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7666eb",
  "rgb": {
    "r": 118,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 247.218,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.19316,
    "h": 284.3
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#7666EB
secondary
#E7ECC1
accent
#D90CC0
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7666EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7666EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva