#6652EC#6652EC

#6652EC is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.1% C 0.221 H 282.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6652EC
RGBrgb(102, 82, 236)
HSLhsl(248, 80%, 62%)
HSVhsv(248, 65%, 93%)
CMYKcmyk(56.8%, 65.3%, 0%, 7.5%)
CIE-LABlab(45.52, 49.25, -75.14)
CIE-LCHlch(45.52, 89.84, 303.24°)
OKLaboklab(55.12% 0.0469 -0.2162)
OKLCHoklch(55.12% 0.221 282.2)
XYZxyz(23.6324, 14.9140, 80.9740)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652EC #D8EC52
analogous
#528BEC #6652EC #B352EC
triadic
#6652EC #EC6652 #52EC66
tetradic
#6652EC #EC528B #D8EC52 #52ECB3
square
#6652EC #EC528B #D8EC52 #52ECB3
split-complementary
#6652EC #ECB352 #8BEC52
monochromatic
#2813B0 #351BE6 #6652EC #9789F2 #C8C0F8

Accessibility & contrast

On white

5.27
#6652EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6652EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652EC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652EC#FFFFFF#000000##FFFFFF
##6652EC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#1A7998
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6652ec;
/* rgb */ color: rgb(102, 82, 236);
/* oklch */ color: oklch(55.1% 0.221 282.2);
Tailwind
colors: {
  custom: {
    50: '#9e84f3',
    500: '#6652ec',
    950: '#000000',
  },
}
SCSS
$custom: #6652ec;
$custom-light: #9e84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6652ec",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 247.792,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.22119,
    "h": 282.2
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#6652EC
secondary
#E2E9B1
accent
#DD09C1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6652EC

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

Preview Lab → · Contrast checker → · Palette generator →

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