#665FF6#665FF6

#665FF6 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.0% C 0.218 H 279.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#665FF6
RGBrgb(102, 95, 246)
HSLhsl(243, 89%, 67%)
HSVhsv(243, 61%, 96%)
CMYKcmyk(58.5%, 61.4%, 0%, 3.5%)
CIE-LABlab(49.08, 44.88, -74.93)
CIE-LCHlch(49.08, 87.34, 300.92°)
OKLaboklab(57.96% 0.0348 -0.2155)
OKLCHoklch(57.96% 0.218 279.2)
XYZxyz(26.2010, 17.6611, 89.1992)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FF6 #EFF65F
analogous
#5FA4F6 #665FF6 #B15FF6
triadic
#665FF6 #F6665F #5FF666
tetradic
#665FF6 #F65FA4 #EFF65F #5FF6B1
square
#665FF6 #F65FA4 #EFF65F #5FF6B1
split-complementary
#665FF6 #F6B15F #A4F65F
monochromatic
#150CCF #2F25F3 #665FF6 #9D99F9 #D5D3FD

Accessibility & contrast

On white

4.63
#665FF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#665FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #665FF6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FF6#FFFFFF#000000##FFFFFF
##665FF61.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #665ff6;
/* rgb */ color: rgb(102, 95, 246);
/* oklch */ color: oklch(58.0% 0.218 279.2);
Tailwind
colors: {
  custom: {
    50: '#9f8dfa',
    500: '#665ff6',
    950: '#000000',
  },
}
SCSS
$custom: #665ff6;
$custom-light: #9f8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#665ff6",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 242.781,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.2183,
    "h": 279.2
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#665FF6
secondary
#EEF1C0
accent
#E600DB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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