#665AE2#665AE2

#665AE2 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.6% C 0.199 H 281.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#665AE2
RGBrgb(102, 90, 226)
HSLhsl(245, 70%, 62%)
HSVhsv(245, 60%, 89%)
CMYKcmyk(54.9%, 60.2%, 0%, 11.4%)
CIE-LABlab(46.48, 41.63, -67.92)
CIE-LCHlch(46.48, 79.66, 301.50°)
OKLaboklab(55.58% 0.0405 -0.1949)
OKLCHoklch(55.58% 0.199 281.7)
XYZxyz(22.8589, 15.6267, 73.7485)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AE2 #D6E25A
analogous
#5A92E2 #665AE2 #AA5AE2
triadic
#665AE2 #E2665A #5AE266
tetradic
#665AE2 #E25A92 #D6E25A #5AE2AA
square
#665AE2 #E25A92 #D6E25A #5AE2AA
split-complementary
#665AE2 #E2AA5A #92E25A
monochromatic
#291DA5 #3626D9 #665AE2 #968EEB #C7C2F4

Accessibility & contrast

On white

5.09
#665AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#665AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AE2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AE2#FFFFFF#000000##FFFFFF
##665AE21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#2A7B95
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ae2;
/* rgb */ color: rgb(102, 90, 226);
/* oklch */ color: oklch(55.6% 0.199 281.7);
Tailwind
colors: {
  custom: {
    50: '#9c89ec',
    500: '#665ae2',
    950: '#000000',
  },
}
SCSS
$custom: #665ae2;
$custom-light: #9c89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#665ae2",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 245.294,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55585,
    "c": 0.19908,
    "h": 281.7
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#665AE2
secondary
#E1E5B3
accent
#D213C1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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