#7666DF#7666DF

#7666DF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.7% C 0.178 H 285.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7666DF
RGBrgb(118, 102, 223)
HSLhsl(248, 65%, 64%)
HSVhsv(248, 54%, 87%)
CMYKcmyk(47.1%, 54.3%, 0%, 12.5%)
CIE-LABlab(50.31, 36.81, -59.96)
CIE-LCHlch(50.31, 70.36, 301.55°)
OKLaboklab(58.67% 0.0477 -0.171)
OKLCHoklch(58.67% 0.178 285.6)
XYZxyz(25.5380, 18.6808, 72.0579)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7666DF #CFDF66
analogous
#6692DF #7666DF #B266DF
triadic
#7666DF #DF7666 #66DF76
tetradic
#7666DF #DF6692 #CFDF66 #66DFB2
square
#7666DF #DF6692 #CFDF66 #66DFB2
split-complementary
#7666DF #DFB266 #92DF66
monochromatic
#3523A8 #4933D4 #7666DF #A399EA #D1CBF4

Accessibility & contrast

On white

4.43
#7666DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7666DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7666DF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7666DF#FFFFFF#000000##000000
##7666DF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#227BE3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#528199
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7666df;
/* rgb */ color: rgb(118, 102, 223);
/* oklch */ color: oklch(58.7% 0.178 285.6);
Tailwind
colors: {
  custom: {
    50: '#a492ea',
    500: '#7666df',
    950: '#000000',
  },
}
SCSS
$custom: #7666df;
$custom-light: #a492ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7666df",
  "rgb": {
    "r": 118,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 247.934,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58669,
    "c": 0.17752,
    "h": 285.6
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#7666DF
secondary
#E0E6BB
accent
#CD18B5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7666DF

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

Preview Lab → · Contrast checker → · Palette generator →

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