#6652CF#6652CF

#6652CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.8% C 0.185 H 285.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6652CF
RGBrgb(102, 82, 207)
HSLhsl(250, 57%, 57%)
HSVhsv(250, 60%, 81%)
CMYKcmyk(50.7%, 60.4%, 0%, 18.8%)
CIE-LABlab(43.31, 40.55, -62.22)
CIE-LCHlch(43.31, 74.27, 303.09°)
OKLaboklab(52.82% 0.0494 -0.1782)
OKLCHoklch(52.82% 0.185 285.5)
XYZxyz(19.7559, 13.3634, 60.5578)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652CF #BBCF52
analogous
#527DCF #6652CF #A552CF
triadic
#6652CF #CF6652 #52CF66
tetradic
#6652CF #CF527D #BBCF52 #52CFA5
square
#6652CF #CF527D #BBCF52 #52CFA5
split-complementary
#6652CF #CFA552 #7DCF52
monochromatic
#332482 #4631B2 #6652CF #9082DC #BBB2EA

Accessibility & contrast

On white

5.72
#6652CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6652CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652CF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652CF#FFFFFF#000000##FFFFFF
##6652CF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#3E6F89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6652cf;
/* rgb */ color: rgb(102, 82, 207);
/* oklch */ color: oklch(52.8% 0.185 285.5);
Tailwind
colors: {
  custom: {
    50: '#9a83de',
    500: '#6652cf',
    950: '#000000',
  },
}
SCSS
$custom: #6652cf;
$custom-light: #9a83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6652cf",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 249.6,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.18492,
    "h": 285.5
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#6652CF
secondary
#D0D8A5
accent
#E048C8
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6652CF

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

Preview Lab → · Contrast checker → · Palette generator →

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