#665ED9#665ED9

#665ED9 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.182 H 281.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#665ED9
RGBrgb(102, 94, 217)
HSLhsl(244, 62%, 61%)
HSVhsv(244, 57%, 85%)
CMYKcmyk(53%, 56.7%, 0%, 14.9%)
CIE-LABlab(46.76, 36.48, -62.35)
CIE-LCHlch(46.76, 72.24, 300.33°)
OKLaboklab(55.59% 0.0367 -0.1785)
OKLCHoklch(55.59% 0.182 281.6)
XYZxyz(22.0027, 15.8386, 67.5299)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ED9 #D1D95E
analogous
#5E93D9 #665ED9 #A35ED9
triadic
#665ED9 #D9665E #5ED966
tetradic
#665ED9 #D95E93 #D1D95E #5ED9A3
square
#665ED9 #D95E93 #D1D95E #5ED9A3
split-complementary
#665ED9 #D9A35E #93D95E
monochromatic
#2C2499 #3A30CA #665ED9 #9590E5 #C4C1F0

Accessibility & contrast

On white

5.04
#665ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#665ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ED9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ED9#FFFFFF#000000##FFFFFF
##665ED91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#347A92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665ed9;
/* rgb */ color: rgb(102, 94, 217);
/* oklch */ color: oklch(55.6% 0.182 281.6);
Tailwind
colors: {
  custom: {
    50: '#9a8ce6',
    500: '#665ed9',
    950: '#000000',
  },
}
SCSS
$custom: #665ed9;
$custom-light: #9a8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#665ed9",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 243.902,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.18225,
    "h": 281.6
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#665ED9
secondary
#DEE1B2
accent
#CA1CBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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