#665AF7#665AF7

#665AF7 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.2% C 0.225 H 280.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#665AF7
RGBrgb(102, 90, 247)
HSLhsl(245, 91%, 66%)
HSVhsv(245, 64%, 97%)
CMYKcmyk(58.7%, 63.6%, 0%, 3.1%)
CIE-LABlab(48.07, 48.07, -77.13)
CIE-LCHlch(48.07, 90.89, 301.93°)
OKLaboklab(57.24% 0.039 -0.222)
OKLCHoklch(57.24% 0.225 280)
XYZxyz(25.9188, 16.8507, 89.8643)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AF7 #EBF75A
analogous
#5A9CF7 #665AF7 #B45AF7
triadic
#665AF7 #F7665A #5AF766
tetradic
#665AF7 #F75A9C #EBF75A #5AF7B4
square
#665AF7 #F75A9C #EBF75A #5AF7B4
split-complementary
#665AF7 #F7B45A #9CF75A
monochromatic
#190ACD #3020F4 #665AF7 #9C94FA #D2CFFD

Accessibility & contrast

On white

4.80
#665AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#665AF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AF7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AF7#FFFFFF#000000##FFFFFF
##665AF71.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #665af7;
/* rgb */ color: rgb(102, 90, 247);
/* oklch */ color: oklch(57.2% 0.225 280.0);
Tailwind
colors: {
  custom: {
    50: '#9f89fb',
    500: '#665af7',
    950: '#000000',
  },
}
SCSS
$custom: #665af7;
$custom-light: #9f89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#665af7",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 244.586,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.22541,
    "h": 280
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#665AF7
secondary
#ECF0BD
accent
#E600D4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #665AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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