#665FE7#665FE7

#665FE7 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.8% C 0.199 H 280.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#665FE7
RGBrgb(102, 95, 231)
HSLhsl(243, 74%, 64%)
HSVhsv(243, 59%, 91%)
CMYKcmyk(55.8%, 58.9%, 0%, 9.4%)
CIE-LABlab(47.98, 40.22, -68.31)
CIE-LCHlch(47.98, 79.27, 300.49°)
OKLaboklab(56.8% 0.0355 -0.196)
OKLCHoklch(56.8% 0.199 280.3)
XYZxyz(23.9910, 16.7771, 77.5599)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FE7 #E0E75F
analogous
#5F9CE7 #665FE7 #AA5FE7
triadic
#665FE7 #E7665F #5FE766
tetradic
#665FE7 #E75F9C #E0E75F #5FE7AA
square
#665FE7 #E75F9C #E0E75F #5FE7AA
split-complementary
#665FE7 #E7AA5F #9CE75F
monochromatic
#221BB1 #332ADF #665FE7 #9994EF #CCC9F7

Accessibility & contrast

On white

4.82
#665FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#665FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FE7#FFFFFF#000000##FFFFFF
##665FE71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#21809A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #665fe7;
/* rgb */ color: rgb(102, 95, 231);
/* oklch */ color: oklch(56.8% 0.199 280.3);
Tailwind
colors: {
  custom: {
    50: '#9c8df0',
    500: '#665fe7',
    950: '#000000',
  },
}
SCSS
$custom: #665fe7;
$custom-light: #9c8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#665fe7",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 243.088,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.568,
    "c": 0.19924,
    "h": 280.3
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#665FE7
secondary
#E6E9B9
accent
#D60FCC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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