#6654DF#6654DF

#6654DF is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.203 H 283.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6654DF
RGBrgb(102, 84, 223)
HSLhsl(248, 68%, 60%)
HSVhsv(248, 62%, 87%)
CMYKcmyk(54.3%, 62.3%, 0%, 12.5%)
CIE-LABlab(44.93, 44.20, -68.74)
CIE-LCHlch(44.93, 81.72, 302.74°)
OKLaboklab(54.38% 0.0464 -0.1973)
OKLCHoklch(54.38% 0.203 283.2)
XYZxyz(21.9650, 14.4918, 71.4375)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6654DF #CDDF54
analogous
#5487DF #6654DF #AC54DF
triadic
#6654DF #DF6654 #54DF66
tetradic
#6654DF #DF5487 #CDDF54 #54DFAC
square
#6654DF #DF5487 #CDDF54 #54DFAC
split-complementary
#6654DF #DFAC54 #87DF54
monochromatic
#2D1D9C #3D27CF #6654DF #9488E9 #C2BBF2

Accessibility & contrast

On white

5.39
#6654DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6654DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6654DF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6654DF#FFFFFF#000000##FFFFFF
##6654DF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#2F7692
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6654df;
/* rgb */ color: rgb(102, 84, 223);
/* oklch */ color: oklch(54.4% 0.203 283.2);
Tailwind
colors: {
  custom: {
    50: '#9c85ea',
    500: '#6654df',
    950: '#000000',
  },
}
SCSS
$custom: #6654df;
$custom-light: #9c85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6654df",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 247.77,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.20273,
    "h": 283.2
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#6654DF
secondary
#DBE2AD
accent
#D015B8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6654DF

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

Preview Lab → · Contrast checker → · Palette generator →

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