#6652CE#6652CE

#6652CE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.7% C 0.184 H 285.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6652CE
RGBrgb(102, 82, 206)
HSLhsl(250, 56%, 56%)
HSVhsv(250, 60%, 81%)
CMYKcmyk(50.5%, 60.2%, 0%, 19.2%)
CIE-LABlab(43.23, 40.25, -61.77)
CIE-LCHlch(43.23, 73.72, 303.09°)
OKLaboklab(52.75% 0.0494 -0.1769)
OKLCHoklch(52.75% 0.184 285.6)
XYZxyz(19.6341, 13.3146, 59.9160)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652CE #BACE52
analogous
#527CCE #6652CE #A452CE
triadic
#6652CE #CE6652 #52CE66
tetradic
#6652CE #CE527C #BACE52 #52CEA4
square
#6652CE #CE527C #BACE52 #52CEA4
split-complementary
#6652CE #CEA452 #7CCE52
monochromatic
#332581 #4632B1 #6652CE #9082DC #BAB1E9

Accessibility & contrast

On white

5.73
#6652CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6652CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652CE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652CE#FFFFFF#000000##FFFFFF
##6652CE1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#3F6F88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6652ce;
/* rgb */ color: rgb(102, 82, 206);
/* oklch */ color: oklch(52.7% 0.184 285.6);
Tailwind
colors: {
  custom: {
    50: '#9a83de',
    500: '#6652ce',
    950: '#000000',
  },
}
SCSS
$custom: #6652ce;
$custom-light: #9a83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6652ce",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 249.677,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.18363,
    "h": 285.6
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#6652CE
secondary
#CFD7A4
accent
#DF49C7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6652CE

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

Preview Lab → · Contrast checker → · Palette generator →

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