#665DFF#665DFF

#665DFF is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.4% C 0.232 H 278.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#665DFF
RGBrgb(102, 93, 255)
HSLhsl(243, 100%, 68%)
HSVhsv(243, 64%, 100%)
CMYKcmyk(60%, 63.5%, 0%, 0%)
CIE-LABlab(49.34, 48.82, -79.52)
CIE-LCHlch(49.34, 93.31, 301.55°)
OKLaboklab(58.36% 0.0358 -0.229)
OKLCHoklch(58.36% 0.232 278.9)
XYZxyz(27.4381, 17.8714, 96.5920)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DFF #F6FF5D
analogous
#5DA5FF #665DFF #B75DFF
triadic
#665DFF #FF665D #5DFF66
tetradic
#665DFF #FF5DA5 #F6FF5D #5DFFB7
square
#665DFF #FF5DA5 #F6FF5D #5DFFB7
split-complementary
#665DFF #FFB75D #A5FF5D
monochromatic
#0D00E2 #2C20FF #665DFF #A09AFF #DAD7FF

Accessibility & contrast

On white

4.59
#665DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#665DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #665DFF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DFF#FFFFFF#000000##FFFFFF
##665DFF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006FFC
Tritanopia (blue-blind)
#0086A6
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #665dff;
/* rgb */ color: rgb(102, 93, 255);
/* oklch */ color: oklch(58.4% 0.232 278.9);
Tailwind
colors: {
  custom: {
    50: '#a08cff',
    500: '#665dff',
    950: '#000000',
  },
}
SCSS
$custom: #665dff;
$custom-light: #a08cff;
$custom-dark: #000000;
JSON
{
  "hex": "#665dff",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 243.333,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.23178,
    "h": 278.9
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#665DFF
secondary
#F2F4C3
accent
#E600D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #665DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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