#6652CD#6652CD

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

Color values

HEX#6652CD
RGBrgb(102, 82, 205)
HSLhsl(250, 55%, 56%)
HSVhsv(250, 60%, 80%)
CMYKcmyk(50.2%, 60%, 0%, 19.6%)
CIE-LABlab(43.16, 39.95, -61.31)
CIE-LCHlch(43.16, 73.18, 303.09°)
OKLaboklab(52.67% 0.0495 -0.1755)
OKLCHoklch(52.67% 0.182 285.7)
XYZxyz(19.5130, 13.2662, 59.2782)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652CD #B9CD52
analogous
#527CCD #6652CD #A452CD
triadic
#6652CD #CD6652 #52CD66
tetradic
#6652CD #CD527C #B9CD52 #52CDA4
square
#6652CD #CD527C #B9CD52 #52CDA4
split-complementary
#6652CD #CDA452 #7CCD52
monochromatic
#342580 #4733AF #6652CD #9081DB #BAB1E8

Accessibility & contrast

On white

5.75
#6652CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6652CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652CD#FFFFFF#000000##FFFFFF
##6652CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#406F88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6652cd;
/* rgb */ color: rgb(102, 82, 205);
/* oklch */ color: oklch(52.7% 0.182 285.7);
Tailwind
colors: {
  custom: {
    50: '#9983dd',
    500: '#6652cd',
    950: '#000000',
  },
}
SCSS
$custom: #6652cd;
$custom-light: #9983dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6652cd",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 249.756,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.18235,
    "h": 285.7
  },
  "luminance": 0.13267
}

Semantic roles & 50–950 ramp

primary
#6652CD
secondary
#CED7A4
accent
#DE49C6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6652CD

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

Preview Lab → · Contrast checker → · Palette generator →

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