#6654E2#6654E2

#6654E2 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.206 H 282.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6654E2
RGBrgb(102, 84, 226)
HSLhsl(248, 71%, 61%)
HSVhsv(248, 63%, 89%)
CMYKcmyk(54.9%, 62.8%, 0%, 11.4%)
CIE-LABlab(45.16, 45.11, -70.07)
CIE-LCHlch(45.16, 83.33, 302.77°)
OKLaboklab(54.62% 0.0461 -0.2013)
OKLCHoklch(54.62% 0.206 282.9)
XYZxyz(22.3731, 14.6551, 73.5865)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6654E2 #D0E254
analogous
#5489E2 #6654E2 #AD54E2
triadic
#6654E2 #E26654 #54E266
tetradic
#6654E2 #E25489 #D0E254 #54E2AD
square
#6654E2 #E25489 #D0E254 #54E2AD
split-complementary
#6654E2 #E2AD54 #89E254
monochromatic
#2C1BA0 #3A24D5 #6654E2 #9588EB #C4BDF4

Accessibility & contrast

On white

5.34
#6654E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6654E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6654E2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6654E2#FFFFFF#000000##FFFFFF
##6654E21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#2B7793
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6654e2;
/* rgb */ color: rgb(102, 84, 226);
/* oklch */ color: oklch(54.6% 0.206 282.9);
Tailwind
colors: {
  custom: {
    50: '#9c85ec',
    500: '#6654e2',
    950: '#000000',
  },
}
SCSS
$custom: #6654e2;
$custom-light: #9c85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6654e2",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 247.606,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.20649,
    "h": 282.9
  },
  "luminance": 0.14656
}

Semantic roles & 50–950 ramp

primary
#6654E2
secondary
#DDE4AE
accent
#D312BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6654E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6654E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva