#6652DC#6652DC

#6652DC is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.201 H 283.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6652DC
RGBrgb(102, 82, 220)
HSLhsl(249, 66%, 59%)
HSVhsv(249, 63%, 86%)
CMYKcmyk(53.6%, 62.7%, 0%, 13.7%)
CIE-LABlab(44.27, 44.45, -68.10)
CIE-LCHlch(44.27, 81.33, 303.13°)
OKLaboklab(53.83% 0.0485 -0.1955)
OKLCHoklch(53.83% 0.201 283.9)
XYZxyz(21.4111, 14.0255, 69.2752)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652DC #C8DC52
analogous
#5283DC #6652DC #AB52DC
triadic
#6652DC #DC6652 #52DC66
tetradic
#6652DC #DC5283 #C8DC52 #52DCAB
square
#6652DC #DC5283 #C8DC52 #52DCAB
split-complementary
#6652DC #DCAB52 #83DC52
monochromatic
#2F1E95 #4029C8 #6652DC #9385E6 #C0B8F1

Accessibility & contrast

On white

5.52
#6652DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6652DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652DC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652DC#FFFFFF#000000##FFFFFF
##6652DC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#32748F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6652dc;
/* rgb */ color: rgb(102, 82, 220);
/* oklch */ color: oklch(53.8% 0.201 283.9);
Tailwind
colors: {
  custom: {
    50: '#9c84e8',
    500: '#6652dc',
    950: '#000000',
  },
}
SCSS
$custom: #6652dc;
$custom-light: #9c84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6652dc",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 248.696,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.20143,
    "h": 283.9
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#6652DC
secondary
#D8E0AA
accent
#E93FD1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6652DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6652DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva