#6656F1#6656F1

#6656F1 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.1% C 0.223 H 281.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6656F1
RGBrgb(102, 86, 241)
HSLhsl(246, 85%, 64%)
HSVhsv(246, 64%, 95%)
CMYKcmyk(57.7%, 64.3%, 0%, 5.5%)
CIE-LABlab(46.75, 48.51, -75.93)
CIE-LCHlch(46.75, 90.11, 302.57°)
OKLaboklab(56.14% 0.043 -0.2185)
OKLCHoklch(56.14% 0.223 281.1)
XYZxyz(24.6795, 15.8296, 84.9570)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6656F1 #E1F156
analogous
#5693F1 #6656F1 #B456F1
triadic
#6656F1 #F16656 #56F166
tetradic
#6656F1 #F15693 #E1F156 #56F1B4
square
#6656F1 #F15693 #E1F156 #56F1B4
split-complementary
#6656F1 #F1B456 #93F156
monochromatic
#2210BD #331DEC #6656F1 #998FF6 #CCC7FA

Accessibility & contrast

On white

5.04
#6656F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6656F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6656F1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6656F1#FFFFFF#000000##FFFFFF
##6656F11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#087D9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6656f1;
/* rgb */ color: rgb(102, 86, 241);
/* oklch */ color: oklch(56.1% 0.223 281.1);
Tailwind
colors: {
  custom: {
    50: '#9e87f7',
    500: '#6656f1',
    950: '#000000',
  },
}
SCSS
$custom: #6656f1;
$custom-light: #9e87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6656f1",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 246.194,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.22267,
    "h": 281.1
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#6656F1
secondary
#E7ECB6
accent
#E104CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6656F1

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

Preview Lab → · Contrast checker → · Palette generator →

#6656F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva