#6666E7#6666E7

#6666E7 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 58.0% C 0.190 H 278.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6666E7
RGBrgb(102, 102, 231)
HSLhsl(240, 73%, 65%)
HSVhsv(240, 56%, 91%)
CMYKcmyk(55.8%, 55.8%, 0%, 9.4%)
CIE-LABlab(49.61, 36.05, -65.66)
CIE-LCHlch(49.61, 74.91, 298.77°)
OKLaboklab(58.01% 0.0287 -0.1882)
OKLCHoklch(58.01% 0.19 278.7)
XYZxyz(24.6501, 18.0954, 77.7796)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6666E7 #E7E766
analogous
#66A6E7 #6666E7 #A666E7
triadic
#6666E7 #E76666 #66E766
tetradic
#6666E7 #E766A6 #E7E766 #66E7A6
square
#6666E7 #E766A6 #E7E766 #66E7A6
split-complementary
#6666E7 #E7A666 #A6E766
monochromatic
#1D1DB6 #3131DF #6666E7 #9B9BEF #D0D0F8

Accessibility & contrast

On white

4.55
#6666E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6666E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6666E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6666E7#FFFFFF#000000##000000
##6666E71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#1F849D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6666e7;
/* rgb */ color: rgb(102, 102, 231);
/* oklch */ color: oklch(58.0% 0.190 278.7);
Tailwind
colors: {
  custom: {
    50: '#9c91ef',
    500: '#6666e7',
    950: '#000000',
  },
}
SCSS
$custom: #6666e7;
$custom-light: #9c91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6666e7",
  "rgb": {
    "r": 102,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58009,
    "c": 0.19039,
    "h": 278.7
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#6666E7
secondary
#EAEABF
accent
#D511D5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6666E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6666E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva