#665AE7#665AE7

#665AE7 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.205 H 281.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#665AE7
RGBrgb(102, 90, 231)
HSLhsl(245, 75%, 63%)
HSVhsv(245, 61%, 91%)
CMYKcmyk(55.8%, 61%, 0%, 9.4%)
CIE-LABlab(46.85, 43.16, -70.14)
CIE-LCHlch(46.85, 82.36, 301.60°)
OKLaboklab(55.97% 0.0402 -0.2015)
OKLCHoklch(55.97% 0.205 281.3)
XYZxyz(23.5550, 15.9051, 77.4146)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AE7 #DBE75A
analogous
#5A95E7 #665AE7 #AC5AE7
triadic
#665AE7 #E7665A #5AE766
tetradic
#665AE7 #E75A95 #DBE75A #5AE7AC
square
#665AE7 #E75A95 #DBE75A #5AE7AC
split-complementary
#665AE7 #E7AC5A #95E75A
monochromatic
#2619AD #3425DF #665AE7 #988FEF #C9C5F7

Accessibility & contrast

On white

5.02
#665AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#665AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AE7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AE7#FFFFFF#000000##FFFFFF
##665AE71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#227C98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665ae7;
/* rgb */ color: rgb(102, 90, 231);
/* oklch */ color: oklch(56.0% 0.205 281.3);
Tailwind
colors: {
  custom: {
    50: '#9d89f0',
    500: '#665ae7',
    950: '#000000',
  },
}
SCSS
$custom: #665ae7;
$custom-light: #9d89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#665ae7",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 245.106,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55971,
    "c": 0.20545,
    "h": 281.3
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#665AE7
secondary
#E3E8B5
accent
#D70FC6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #665AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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