#665CC7#665CC7

#665CC7 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.161 H 283.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#665CC7
RGBrgb(102, 92, 199)
HSLhsl(246, 49%, 57%)
HSVhsv(246, 54%, 78%)
CMYKcmyk(48.7%, 53.8%, 0%, 22%)
CIE-LABlab(45.08, 32.17, -54.74)
CIE-LCHlch(45.08, 63.49, 300.44°)
OKLaboklab(53.96% 0.0385 -0.1561)
OKLCHoklch(53.96% 0.161 283.8)
XYZxyz(19.6124, 14.6016, 55.8067)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CC7 #BDC75C
analogous
#5C88C7 #665CC7 #9B5CC7
triadic
#665CC7 #C7665C #5CC766
tetradic
#665CC7 #C75C88 #BDC75C #5CC79B
square
#665CC7 #C75C88 #BDC75C #5CC79B
split-complementary
#665CC7 #C79B5C #88C75C
monochromatic
#332B7D #453BAB #665CC7 #918AD7 #BCB7E6

Accessibility & contrast

On white

5.36
#665CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#665CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CC7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CC7#FFFFFF#000000##FFFFFF
##665CC71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#1B67C5
Tritanopia (blue-blind)
#437489
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665cc7;
/* rgb */ color: rgb(102, 92, 199);
/* oklch */ color: oklch(54.0% 0.161 283.8);
Tailwind
colors: {
  custom: {
    50: '#988ad9',
    500: '#665cc7',
    950: '#000000',
  },
}
SCSS
$custom: #665cc7;
$custom-light: #988ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#665cc7",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 245.607,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.16082,
    "h": 283.8
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#665CC7
secondary
#D1D5AA
accent
#D84FCC
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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