#6654EA#6654EA

#6654EA is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.3% C 0.216 H 282.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6654EA
RGBrgb(102, 84, 234)
HSLhsl(247, 78%, 62%)
HSVhsv(247, 64%, 92%)
CMYKcmyk(56.4%, 64.1%, 0%, 8.2%)
CIE-LABlab(45.78, 47.52, -73.58)
CIE-LCHlch(45.78, 87.60, 302.86°)
OKLaboklab(55.26% 0.0454 -0.2116)
OKLCHoklch(55.26% 0.216 282.1)
XYZxyz(23.4965, 15.1044, 79.5033)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6654EA #D8EA54
analogous
#548DEA #6654EA #B154EA
triadic
#6654EA #EA6654 #54EA66
tetradic
#6654EA #EA548D #D8EA54 #54EAB1
square
#6654EA #EA548D #D8EA54 #54EAB1
split-complementary
#6654EA #EAB154 #8DEA54
monochromatic
#2815AE #351DE3 #6654EA #978BF1 #C8C1F7

Accessibility & contrast

On white

5.22
#6654EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6654EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6654EA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6654EA#FFFFFF#000000##FFFFFF
##6654EA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#1E7A98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6654ea;
/* rgb */ color: rgb(102, 84, 234);
/* oklch */ color: oklch(55.3% 0.216 282.1);
Tailwind
colors: {
  custom: {
    50: '#9d85f2',
    500: '#6654ea',
    950: '#000000',
  },
}
SCSS
$custom: #6654ea;
$custom-light: #9d85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6654ea",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 247.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55261,
    "c": 0.21641,
    "h": 282.1
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#6654EA
secondary
#E2E8B2
accent
#DA0BC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6654EA

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

Preview Lab → · Contrast checker → · Palette generator →

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