#6662F7#6662F7

#6662F7 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.5% C 0.216 H 278.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6662F7
RGBrgb(102, 98, 247)
HSLhsl(242, 90%, 68%)
HSVhsv(242, 60%, 97%)
CMYKcmyk(58.7%, 60.3%, 0%, 3.1%)
CIE-LABlab(49.83, 43.44, -74.27)
CIE-LCHlch(49.83, 86.05, 300.32°)
OKLaboklab(58.53% 0.0322 -0.2136)
OKLCHoklch(58.53% 0.216 278.6)
XYZxyz(26.6303, 18.2736, 90.1015)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6662F7 #F3F762
analogous
#62A8F7 #6662F7 #B162F7
triadic
#6662F7 #F76662 #62F766
tetradic
#6662F7 #F762A8 #F3F762 #62F7B1
square
#6662F7 #F762A8 #F3F762 #62F7B1
split-complementary
#6662F7 #F7B162 #A8F762
monochromatic
#100BD4 #2D28F4 #6662F7 #9F9CFA #D7D6FD

Accessibility & contrast

On white

4.51
#6662F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6662F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6662F7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6662F7#FFFFFF#000000##000000
##6662F71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#0087A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6662f7;
/* rgb */ color: rgb(102, 98, 247);
/* oklch */ color: oklch(58.5% 0.216 278.6);
Tailwind
colors: {
  custom: {
    50: '#9f8ffb',
    500: '#6662f7',
    950: '#000000',
  },
}
SCSS
$custom: #6662f7;
$custom-light: #9f8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#6662f7",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 241.611,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.21598,
    "h": 278.6
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#6662F7
secondary
#F0F2C3
accent
#E600DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6662F7

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

Preview Lab → · Contrast checker → · Palette generator →

#6662F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva