#666FF6#666FF6

#666FF6 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.7% C 0.199 H 275.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#666FF6
RGBrgb(102, 111, 246)
HSLhsl(236, 89%, 68%)
HSVhsv(236, 59%, 96%)
CMYKcmyk(58.5%, 54.9%, 0%, 3.5%)
CIE-LABlab(52.78, 35.41, -68.92)
CIE-LCHlch(52.78, 77.49, 297.19°)
OKLaboklab(60.69% 0.0203 -0.1977)
OKLCHoklch(60.69% 0.199 275.9)
XYZxyz(27.7931, 20.8454, 89.7299)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FF6 #F6ED66
analogous
#66B7F6 #666FF6 #A566F6
triadic
#666FF6 #F6666F #6FF666
tetradic
#666FF6 #F666B7 #F6ED66 #66F6A5
square
#666FF6 #F666B7 #F6ED66 #66F6A5
split-complementary
#666FF6 #F6A566 #B7F666
monochromatic
#0D19D5 #2C39F3 #666FF6 #A0A5F9 #DADCFD

Accessibility & contrast

On white

4.06
#666FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#666FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FF6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FF6#FFFFFF#000000##000000
##666FF61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#008FA8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #666ff6;
/* rgb */ color: rgb(102, 111, 246);
/* oklch */ color: oklch(60.7% 0.199 275.9);
Tailwind
colors: {
  custom: {
    50: '#9e98fa',
    500: '#666ff6',
    950: '#000000',
  },
}
SCSS
$custom: #666ff6;
$custom-light: #9e98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#666ff6",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 236.25,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60691,
    "c": 0.19878,
    "h": 275.9
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#666FF6
secondary
#F2EFC6
accent
#D700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666FF6

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

Preview Lab → · Contrast checker → · Palette generator →

#666FF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva