#665AE6#665AE6

#665AE6 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.9% C 0.204 H 281.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#665AE6
RGBrgb(102, 90, 230)
HSLhsl(245, 74%, 63%)
HSVhsv(245, 61%, 90%)
CMYKcmyk(55.7%, 60.9%, 0%, 9.8%)
CIE-LABlab(46.78, 42.85, -69.70)
CIE-LCHlch(46.78, 81.82, 301.58°)
OKLaboklab(55.89% 0.0403 -0.2002)
OKLCHoklch(55.89% 0.204 281.4)
XYZxyz(23.4141, 15.8488, 76.6729)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AE6 #DAE65A
analogous
#5A94E6 #665AE6 #AC5AE6
triadic
#665AE6 #E6665A #5AE666
tetradic
#665AE6 #E65A94 #DAE65A #5AE6AC
square
#665AE6 #E65A94 #DAE65A #5AE6AC
split-complementary
#665AE6 #E6AC5A #94E65A
monochromatic
#261AAC #3525DE #665AE6 #978FEE #C9C4F6

Accessibility & contrast

On white

5.04
#665AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#665AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AE6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AE6#FFFFFF#000000##FFFFFF
##665AE61.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#247C98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665ae6;
/* rgb */ color: rgb(102, 90, 230);
/* oklch */ color: oklch(55.9% 0.204 281.4);
Tailwind
colors: {
  custom: {
    50: '#9c89ef',
    500: '#665ae6',
    950: '#000000',
  },
}
SCSS
$custom: #665ae6;
$custom-light: #9c89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#665ae6",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 245.143,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55894,
    "c": 0.20417,
    "h": 281.4
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#665AE6
secondary
#E3E7B5
accent
#D610C5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #665AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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