#665AAA#665AAA

#665AAA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.123 H 288.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#665AAA
RGBrgb(102, 90, 170)
HSLhsl(249, 32%, 51%)
HSVhsv(249, 47%, 67%)
CMYKcmyk(40%, 47.1%, 0%, 33.3%)
CIE-LABlab(42.82, 24.76, -41.43)
CIE-LCHlch(42.82, 48.27, 300.86°)
OKLaboklab(51.7% 0.0385 -0.1171)
OKLCHoklch(51.7% 0.123 288.2)
XYZxyz(16.3893, 13.0389, 39.6756)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AAA #9EAA5A
analogous
#5A76AA #665AAA #8E5AAA
triadic
#665AAA #AA665A #5AAA66
tetradic
#665AAA #AA5A76 #9EAA5A #5AAA8E
square
#665AAA #AA5A76 #9EAA5A #5AAA8E
split-complementary
#665AAA #AA8E5A #76AA5A
monochromatic
#352F5B #4D4483 #665AAA #8B82BF #B1ABD4

Accessibility & contrast

On white

5.82
#665AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#665AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AAA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AAA#FFFFFF#000000##FFFFFF
##665AAA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#536A7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #665aaa;
/* rgb */ color: rgb(102, 90, 170);
/* oklch */ color: oklch(51.7% 0.123 288.2);
Tailwind
colors: {
  custom: {
    50: '#9588c4',
    500: '#665aaa',
    950: '#000000',
  },
}
SCSS
$custom: #665aaa;
$custom-light: #9588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#665aaa",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 249,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.12327,
    "h": 288.2
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#665AAA
secondary
#BCC29E
accent
#C860B8
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #665AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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