#665EF7#665EF7

#665EF7 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.9% C 0.221 H 279.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#665EF7
RGBrgb(102, 94, 247)
HSLhsl(243, 91%, 67%)
HSVhsv(243, 62%, 97%)
CMYKcmyk(58.7%, 61.9%, 0%, 3.1%)
CIE-LABlab(48.94, 45.77, -75.72)
CIE-LCHlch(48.94, 88.48, 301.15°)
OKLaboklab(57.88% 0.0356 -0.2178)
OKLCHoklch(57.88% 0.221 279.3)
XYZxyz(26.2654, 17.5437, 89.9798)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EF7 #EFF75E
analogous
#5EA3F7 #665EF7 #B25EF7
triadic
#665EF7 #F7665E #5EF766
tetradic
#665EF7 #F75EA3 #EFF75E #5EF7B2
square
#665EF7 #F75EA3 #EFF75E #5EF7B2
split-complementary
#665EF7 #F7B25E #A3F75E
monochromatic
#150AD0 #2F24F4 #665EF7 #9D98FA #D5D3FD

Accessibility & contrast

On white

4.66
#665EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#665EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #665EF7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EF7#FFFFFF#000000##FFFFFF
##665EF71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006EF4
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #665ef7;
/* rgb */ color: rgb(102, 94, 247);
/* oklch */ color: oklch(57.9% 0.221 279.3);
Tailwind
colors: {
  custom: {
    50: '#9f8cfb',
    500: '#665ef7',
    950: '#000000',
  },
}
SCSS
$custom: #665ef7;
$custom-light: #9f8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#665ef7",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 243.137,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57876,
    "c": 0.22073,
    "h": 279.3
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#665EF7
secondary
#EEF1C0
accent
#E600DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #665EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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