#665AE4#665AE4

#665AE4 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.202 H 281.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#665AE4
RGBrgb(102, 90, 228)
HSLhsl(245, 72%, 62%)
HSVhsv(245, 61%, 89%)
CMYKcmyk(55.3%, 60.5%, 0%, 10.6%)
CIE-LABlab(46.63, 42.24, -68.81)
CIE-LCHlch(46.63, 80.74, 301.54°)
OKLaboklab(55.74% 0.0404 -0.1975)
OKLCHoklch(55.74% 0.202 281.6)
XYZxyz(23.1349, 15.7371, 75.2022)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AE4 #D8E45A
analogous
#5A93E4 #665AE4 #AB5AE4
triadic
#665AE4 #E4665A #5AE466
tetradic
#665AE4 #E45A93 #D8E45A #5AE4AB
square
#665AE4 #E45A93 #D8E45A #5AE4AB
split-complementary
#665AE4 #E4AB5A #93E45A
monochromatic
#281CA8 #3525DB #665AE4 #978FED #C8C3F5

Accessibility & contrast

On white

5.06
#665AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#665AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AE4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AE4#FFFFFF#000000##FFFFFF
##665AE41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#277B96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ae4;
/* rgb */ color: rgb(102, 90, 228);
/* oklch */ color: oklch(55.7% 0.202 281.6);
Tailwind
colors: {
  custom: {
    50: '#9c89ed',
    500: '#665ae4',
    950: '#000000',
  },
}
SCSS
$custom: #665ae4;
$custom-light: #9c89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#665ae4",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 245.217,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55739,
    "c": 0.20163,
    "h": 281.6
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#665AE4
secondary
#E2E6B4
accent
#D412C3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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