#665ED7#665ED7

#665ED7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.180 H 281.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#665ED7
RGBrgb(102, 94, 215)
HSLhsl(244, 60%, 61%)
HSVhsv(244, 56%, 84%)
CMYKcmyk(52.6%, 56.3%, 0%, 15.7%)
CIE-LABlab(46.63, 35.86, -61.43)
CIE-LCHlch(46.63, 71.13, 300.28°)
OKLaboklab(55.45% 0.0367 -0.1758)
OKLCHoklch(55.45% 0.18 281.8)
XYZxyz(21.7442, 15.7352, 66.1682)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ED7 #CFD75E
analogous
#5E92D7 #665ED7 #A25ED7
triadic
#665ED7 #D7665E #5ED766
tetradic
#665ED7 #D75E92 #CFD75E #5ED7A2
square
#665ED7 #D75E92 #CFD75E #5ED7A2
split-complementary
#665ED7 #D7A25E #92D75E
monochromatic
#2D2595 #3B31C6 #665ED7 #958FE3 #C3C0EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665ED7#FFFFFF#000000##FFFFFF
##665ED71.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)
#0073DB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#367A91
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ed7;
/* rgb */ color: rgb(102, 94, 215);
/* oklch */ color: oklch(55.4% 0.180 281.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ce4',
    500: '#665ed7',
    950: '#000000',
  },
}
SCSS
$custom: #665ed7;
$custom-light: #9a8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#665ed7",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 243.967,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55446,
    "c": 0.1796,
    "h": 281.8
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#665ED7
secondary
#DCDFB1
accent
#C81EBD
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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