#6654ED#6654ED

#6654ED is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.5% C 0.220 H 281.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6654ED
RGBrgb(102, 84, 237)
HSLhsl(247, 81%, 63%)
HSVhsv(247, 65%, 93%)
CMYKcmyk(57%, 64.6%, 0%, 7.1%)
CIE-LABlab(46.01, 48.43, -74.89)
CIE-LCHlch(46.01, 89.18, 302.89°)
OKLaboklab(55.51% 0.0451 -0.2154)
OKLCHoklch(55.51% 0.22 281.8)
XYZxyz(23.9311, 15.2783, 81.7923)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6654ED #DBED54
analogous
#548EED #6654ED #B354ED
triadic
#6654ED #ED6654 #54ED66
tetradic
#6654ED #ED548E #DBED54 #54EDB3
square
#6654ED #ED548E #DBED54 #54EDB3
split-complementary
#6654ED #EDB354 #8EED54
monochromatic
#2613B4 #341DE7 #6654ED #988BF3 #C9C3F9

Accessibility & contrast

On white

5.18
#6654ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6654ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6654ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6654ED#FFFFFF#000000##FFFFFF
##6654ED1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#177B99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6654ed;
/* rgb */ color: rgb(102, 84, 237);
/* oklch */ color: oklch(55.5% 0.220 281.8);
Tailwind
colors: {
  custom: {
    50: '#9e85f4',
    500: '#6654ed',
    950: '#000000',
  },
}
SCSS
$custom: #6654ed;
$custom-light: #9e85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6654ed",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 247.059,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55505,
    "c": 0.2201,
    "h": 281.8
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#6654ED
secondary
#E3EAB3
accent
#DD08C4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6654ED

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

Preview Lab → · Contrast checker → · Palette generator →

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