#665EE7#665EE7

#665EE7 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.6% C 0.200 H 280.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#665EE7
RGBrgb(102, 94, 231)
HSLhsl(244, 74%, 64%)
HSVhsv(244, 59%, 91%)
CMYKcmyk(55.8%, 59.3%, 0%, 9.4%)
CIE-LABlab(47.75, 40.81, -68.68)
CIE-LCHlch(47.75, 79.89, 300.72°)
OKLaboklab(56.63% 0.0365 -0.1971)
OKLCHoklch(56.63% 0.2 280.5)
XYZxyz(23.9015, 16.5981, 77.5301)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EE7 #DFE75E
analogous
#5E9AE7 #665EE7 #AA5EE7
triadic
#665EE7 #E7665E #5EE766
tetradic
#665EE7 #E75E9A #DFE75E #5EE7AA
square
#665EE7 #E75E9A #DFE75E #5EE7AA
split-complementary
#665EE7 #E7AA5E #9AE75E
monochromatic
#231AB0 #3329DF #665EE7 #9993EF #CBC9F7

Accessibility & contrast

On white

4.86
#665EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#665EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EE7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EE7#FFFFFF#000000##FFFFFF
##665EE71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#217F9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665ee7;
/* rgb */ color: rgb(102, 94, 231);
/* oklch */ color: oklch(56.6% 0.200 280.5);
Tailwind
colors: {
  custom: {
    50: '#9c8cf0',
    500: '#665ee7',
    950: '#000000',
  },
}
SCSS
$custom: #665ee7;
$custom-light: #9c8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#665ee7",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 243.504,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.20049,
    "h": 280.5
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#665EE7
secondary
#E6E9B8
accent
#D60FCB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665EE7

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

Preview Lab → · Contrast checker → · Palette generator →

#665EE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva