#6652BC#6652BC

#6652BC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.4% C 0.160 H 288.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6652BC
RGBrgb(102, 82, 188)
HSLhsl(251, 44%, 53%)
HSVhsv(251, 56%, 74%)
CMYKcmyk(45.7%, 56.4%, 0%, 26.3%)
CIE-LABlab(41.98, 34.90, -53.35)
CIE-LCHlch(41.98, 63.75, 303.20°)
OKLaboklab(51.43% 0.0498 -0.1521)
OKLCHoklch(51.43% 0.16 288.1)
XYZxyz(17.5713, 12.4895, 49.0521)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6652BC #A8BC52
analogous
#5273BC #6652BC #9B52BC
triadic
#6652BC #BC6652 #52BC66
tetradic
#6652BC #BC5273 #A8BC52 #52BC9B
square
#6652BC #BC5273 #A8BC52 #52BC9B
split-complementary
#6652BC #BC9B52 #73BC52
monochromatic
#36296A #4C3A97 #6652BC #8D7ECD #B4AADE

Accessibility & contrast

On white

6.00
#6652BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6652BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6652BC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6652BC#FFFFFF#000000##FFFFFF
##6652BC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265C0
Deuteranopia (green-blind)
#1460BA
Tritanopia (blue-blind)
#4B697F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6652bc;
/* rgb */ color: rgb(102, 82, 188);
/* oklch */ color: oklch(51.4% 0.160 288.1);
Tailwind
colors: {
  custom: {
    50: '#9783d1',
    500: '#6652bc',
    950: '#000000',
  },
}
SCSS
$custom: #6652bc;
$custom-light: #9783d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6652bc",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 251.321,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.16003,
    "h": 288.1
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#6652BC
secondary
#C3CC9E
accent
#D454BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6652BC

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

Preview Lab → · Contrast checker → · Palette generator →

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