#6652DF#6652DF

#6652DF is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.205 H 283.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6652DF
RGBrgb(102, 82, 223)
HSLhsl(249, 69%, 60%)
HSVhsv(249, 63%, 87%)
CMYKcmyk(54.3%, 63.2%, 0%, 12.5%)
CIE-LABlab(44.50, 45.35, -69.44)
CIE-LCHlch(44.50, 82.94, 303.15°)
OKLaboklab(54.07% 0.0483 -0.1994)
OKLCHoklch(54.07% 0.205 283.6)
XYZxyz(21.8120, 14.1858, 71.3865)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652DF #CBDF52
analogous
#5284DF #6652DF #AD52DF
triadic
#6652DF #DF6652 #52DF66
tetradic
#6652DF #DF5284 #CBDF52 #52DFAD
square
#6652DF #DF5284 #CBDF52 #52DFAD
split-complementary
#6652DF #DFAD52 #84DF52
monochromatic
#2E1D9A #3E26CE #6652DF #9486E9 #C1B9F2

Accessibility & contrast

On white

5.47
#6652DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6652DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652DF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652DF#FFFFFF#000000##FFFFFF
##6652DF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#2F7591
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6652df;
/* rgb */ color: rgb(102, 82, 223);
/* oklch */ color: oklch(54.1% 0.205 283.6);
Tailwind
colors: {
  custom: {
    50: '#9c84ea',
    500: '#6652df',
    950: '#000000',
  },
}
SCSS
$custom: #6652df;
$custom-light: #9c84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6652df",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 248.511,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.20517,
    "h": 283.6
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#6652DF
secondary
#DAE2AB
accent
#EC3CD3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6652DF

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

Preview Lab → · Contrast checker → · Palette generator →

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