#6652F2#6652F2

#6652F2 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.6% C 0.228 H 281.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6652F2
RGBrgb(102, 82, 242)
HSLhsl(248, 86%, 64%)
HSVhsv(248, 66%, 95%)
CMYKcmyk(57.9%, 66.1%, 0%, 5.1%)
CIE-LABlab(46.00, 51.05, -77.72)
CIE-LCHlch(46.00, 92.99, 303.30°)
OKLaboklab(55.62% 0.0462 -0.2237)
OKLCHoklch(55.62% 0.228 281.7)
XYZxyz(24.5188, 15.2685, 85.6423)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652F2 #DEF252
analogous
#528EF2 #6652F2 #B652F2
triadic
#6652F2 #F26652 #52F266
tetradic
#6652F2 #F2528E #DEF252 #52F2B6
square
#6652F2 #F2528E #DEF252 #52F2B6
split-complementary
#6652F2 #F2B652 #8EF252
monochromatic
#240EBC #3419EE #6652F2 #988BF6 #CBC4FB

Accessibility & contrast

On white

5.18
#6652F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6652F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652F2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652F2#FFFFFF#000000##FFFFFF
##6652F21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#057B9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6652f2;
/* rgb */ color: rgb(102, 82, 242);
/* oklch */ color: oklch(55.6% 0.228 281.7);
Tailwind
colors: {
  custom: {
    50: '#9f84f8',
    500: '#6652f2',
    950: '#000000',
  },
}
SCSS
$custom: #6652f2;
$custom-light: #9f84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6652f2",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 247.5,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.22845,
    "h": 281.7
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#6652F2
secondary
#E5ECB4
accent
#E303C7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6652F2

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

Preview Lab → · Contrast checker → · Palette generator →

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