#665FF2#665FF2

#665FF2 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.6% C 0.213 H 279.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#665FF2
RGBrgb(102, 95, 242)
HSLhsl(243, 85%, 66%)
HSVhsv(243, 61%, 95%)
CMYKcmyk(57.9%, 60.7%, 0%, 5.1%)
CIE-LABlab(48.78, 43.64, -73.18)
CIE-LCHlch(48.78, 85.20, 300.81°)
OKLaboklab(57.64% 0.0351 -0.2104)
OKLCHoklch(57.64% 0.213 279.5)
XYZxyz(25.5936, 17.4182, 86.0006)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FF2 #EBF25F
analogous
#5FA1F2 #665FF2 #AF5FF2
triadic
#665FF2 #F2665F #5FF266
tetradic
#665FF2 #F25FA1 #EBF25F #5FF2AF
square
#665FF2 #F25FA1 #EBF25F #5FF2AF
split-complementary
#665FF2 #F2AF5F #A1F25F
monochromatic
#1910C6 #3026ED #665FF2 #9C98F7 #D2D0FB

Accessibility & contrast

On white

4.68
#665FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#665FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FF2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FF2#FFFFFF#000000##FFFFFF
##665FF21.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #665ff2;
/* rgb */ color: rgb(102, 95, 242);
/* oklch */ color: oklch(57.6% 0.213 279.5);
Tailwind
colors: {
  custom: {
    50: '#9e8df7',
    500: '#665ff2',
    950: '#000000',
  },
}
SCSS
$custom: #665ff2;
$custom-light: #9e8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#665ff2",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 242.857,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.21327,
    "h": 279.5
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#665FF2
secondary
#ECEFBE
accent
#E104D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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