#6652EE#6652EE

#6652EE is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.3% C 0.224 H 282.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6652EE
RGBrgb(102, 82, 238)
HSLhsl(248, 82%, 63%)
HSVhsv(248, 66%, 93%)
CMYKcmyk(57.1%, 65.5%, 0%, 6.7%)
CIE-LABlab(45.68, 49.85, -76.00)
CIE-LCHlch(45.68, 90.89, 303.26°)
OKLaboklab(55.29% 0.0467 -0.2187)
OKLCHoklch(55.29% 0.224 282)
XYZxyz(23.9246, 15.0308, 82.5129)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652EE #DAEE52
analogous
#528CEE #6652EE #B452EE
triadic
#6652EE #EE6652 #52EE66
tetradic
#6652EE #EE528C #DAEE52 #52EEB4
square
#6652EE #EE528C #DAEE52 #52EEB4
split-complementary
#6652EE #EEB452 #8CEE52
monochromatic
#2612B4 #351AE9 #6652EE #978AF3 #C9C1F9

Accessibility & contrast

On white

5.24
#6652EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6652EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652EE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652EE#FFFFFF#000000##FFFFFF
##6652EE1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#0067EB
Tritanopia (blue-blind)
#157A99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6652ee;
/* rgb */ color: rgb(102, 82, 238);
/* oklch */ color: oklch(55.3% 0.224 282.0);
Tailwind
colors: {
  custom: {
    50: '#9e84f5',
    500: '#6652ee',
    950: '#000000',
  },
}
SCSS
$custom: #6652ee;
$custom-light: #9e84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6652ee",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 247.692,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.22362,
    "h": 282
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#6652EE
secondary
#E3EAB2
accent
#DE07C3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6652EE

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

Preview Lab → · Contrast checker → · Palette generator →

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