#665ED6#665ED6

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

Color values

HEX#665ED6
RGBrgb(102, 94, 214)
HSLhsl(244, 59%, 60%)
HSVhsv(244, 56%, 84%)
CMYKcmyk(52.3%, 56.1%, 0%, 16.1%)
CIE-LABlab(46.56, 35.56, -60.97)
CIE-LCHlch(46.56, 70.58, 300.25°)
OKLaboklab(55.37% 0.0367 -0.1745)
OKLCHoklch(55.37% 0.178 281.9)
XYZxyz(21.6161, 15.6840, 65.4936)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ED6 #CED65E
analogous
#5E92D6 #665ED6 #A25ED6
triadic
#665ED6 #D6665E #5ED666
tetradic
#665ED6 #D65E92 #CED65E #5ED6A2
square
#665ED6 #D65E92 #CED65E #5ED6A2
split-complementary
#665ED6 #D6A25E #92D65E
monochromatic
#2D2694 #3C32C5 #665ED6 #948FE2 #C3C0EF

Accessibility & contrast

On white

5.08
#665ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#665ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ED6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ED6#FFFFFF#000000##FFFFFF
##665ED61.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0173DA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#377A91
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ed6;
/* rgb */ color: rgb(102, 94, 214);
/* oklch */ color: oklch(55.4% 0.178 281.9);
Tailwind
colors: {
  custom: {
    50: '#9a8ce3',
    500: '#665ed6',
    950: '#000000',
  },
}
SCSS
$custom: #665ed6;
$custom-light: #9a8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#665ed6",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 244,
    "s": 59.406,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55374,
    "c": 0.17828,
    "h": 281.9
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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