#665FF8#665FF8

#665FF8 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.1% C 0.221 H 279.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#665FF8
RGBrgb(102, 95, 248)
HSLhsl(243, 92%, 67%)
HSVhsv(243, 62%, 97%)
CMYKcmyk(58.9%, 61.7%, 0%, 2.7%)
CIE-LABlab(49.23, 45.50, -75.80)
CIE-LCHlch(49.23, 88.41, 300.98°)
OKLaboklab(58.12% 0.0347 -0.2181)
OKLCHoklch(58.12% 0.221 279)
XYZxyz(26.5096, 17.7846, 90.8246)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FF8 #F1F85F
analogous
#5FA5F8 #665FF8 #B25FF8
triadic
#665FF8 #F8665F #5FF866
tetradic
#665FF8 #F85FA5 #F1F85F #5FF8B2
square
#665FF8 #F85FA5 #F1F85F #5FF8B2
split-complementary
#665FF8 #F8B25F #A5F85F
monochromatic
#1209D3 #2E24F5 #665FF8 #9E9AFB #D6D4FD

Accessibility & contrast

On white

4.61
#665FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#665FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #665FF8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FF8#FFFFFF#000000##FFFFFF
##665FF81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFD
Deuteranopia (green-blind)
#006FF5
Tritanopia (blue-blind)
#0085A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #665ff8;
/* rgb */ color: rgb(102, 95, 248);
/* oklch */ color: oklch(58.1% 0.221 279.0);
Tailwind
colors: {
  custom: {
    50: '#9f8dfc',
    500: '#665ff8',
    950: '#000000',
  },
}
SCSS
$custom: #665ff8;
$custom-light: #9f8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#665ff8",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 242.745,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.22081,
    "h": 279
  },
  "luminance": 0.17787
}

Semantic roles & 50–950 ramp

primary
#665FF8
secondary
#EFF2C1
accent
#E600DB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #665FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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