#6656EC#6656EC

#6656EC is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.217 H 281.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6656EC
RGBrgb(102, 86, 236)
HSLhsl(246, 80%, 63%)
HSVhsv(246, 64%, 93%)
CMYKcmyk(56.8%, 63.6%, 0%, 7.5%)
CIE-LABlab(46.36, 46.99, -73.76)
CIE-LCHlch(46.36, 87.46, 302.50°)
OKLaboklab(55.73% 0.0435 -0.2121)
OKLCHoklch(55.73% 0.217 281.6)
XYZxyz(23.9429, 15.5349, 81.0775)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6656EC #DCEC56
analogous
#5691EC #6656EC #B156EC
triadic
#6656EC #EC6656 #56EC66
tetradic
#6656EC #EC5691 #DCEC56 #56ECB1
square
#6656EC #EC5691 #DCEC56 #56ECB1
split-complementary
#6656EC #ECB156 #91EC56
monochromatic
#2514B3 #341FE6 #6656EC #988DF2 #CAC4F8

Accessibility & contrast

On white

5.11
#6656EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6656EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6656EC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6656EC#FFFFFF#000000##FFFFFF
##6656EC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#197C99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6656ec;
/* rgb */ color: rgb(102, 86, 236);
/* oklch */ color: oklch(55.7% 0.217 281.6);
Tailwind
colors: {
  custom: {
    50: '#9e87f3',
    500: '#6656ec',
    950: '#000000',
  },
}
SCSS
$custom: #6656ec;
$custom-light: #9e87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6656ec",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 246.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.21652,
    "h": 281.6
  },
  "luminance": 0.15536
}

Semantic roles & 50–950 ramp

primary
#6656EC
secondary
#E4EAB4
accent
#DC09C6
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6656EC

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

Preview Lab → · Contrast checker → · Palette generator →

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