#665AE8#665AE8

#665AE8 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.207 H 281.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#665AE8
RGBrgb(102, 90, 232)
HSLhsl(245, 76%, 63%)
HSVhsv(245, 61%, 91%)
CMYKcmyk(56%, 61.2%, 0%, 9%)
CIE-LABlab(46.92, 43.47, -70.59)
CIE-LCHlch(46.92, 82.90, 301.62°)
OKLaboklab(56.05% 0.0402 -0.2028)
OKLCHoklch(56.05% 0.207 281.2)
XYZxyz(23.6966, 15.9618, 78.1605)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AE8 #DCE85A
analogous
#5A95E8 #665AE8 #AD5AE8
triadic
#665AE8 #E8665A #5AE866
tetradic
#665AE8 #E85A95 #DCE85A #5AE8AD
square
#665AE8 #E85A95 #DCE85A #5AE8AD
split-complementary
#665AE8 #E8AD5A #95E85A
monochromatic
#2518AF #3424E1 #665AE8 #9890EF #CAC5F7

Accessibility & contrast

On white

5.01
#665AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#665AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AE8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AE8#FFFFFF#000000##FFFFFF
##665AE81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#207D99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665ae8;
/* rgb */ color: rgb(102, 90, 232);
/* oklch */ color: oklch(56.0% 0.207 281.2);
Tailwind
colors: {
  custom: {
    50: '#9d89f0',
    500: '#665ae8',
    950: '#000000',
  },
}
SCSS
$custom: #665ae8;
$custom-light: #9d89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#665ae8",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 245.07,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.20671,
    "h": 281.2
  },
  "luminance": 0.15963
}

Semantic roles & 50–950 ramp

primary
#665AE8
secondary
#E4E8B5
accent
#D80EC7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #665AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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