#6552BA#6552BA

#6552BA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.157 H 287.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6552BA
RGBrgb(101, 82, 186)
HSLhsl(251, 43%, 53%)
HSVhsv(251, 56%, 73%)
CMYKcmyk(45.7%, 55.9%, 0%, 27.1%)
CIE-LABlab(41.76, 34.09, -52.54)
CIE-LCHlch(41.76, 62.63, 302.98°)
OKLaboklab(51.2% 0.0484 -0.1498)
OKLCHoklch(51.2% 0.157 287.9)
XYZxyz(17.2445, 12.3458, 47.9192)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552BA #A7BA52
analogous
#5273BA #6552BA #9952BA
triadic
#6552BA #BA6552 #52BA65
tetradic
#6552BA #BA5273 #A7BA52 #52BA99
square
#6552BA #BA5273 #A7BA52 #52BA99
split-complementary
#6552BA #BA9952 #73BA52
monochromatic
#352A68 #4B3B94 #6552BA #8C7ECB #B3AADD

Accessibility & contrast

On white

6.05
#6552BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6552BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6552BA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6552BA#FFFFFF#000000##FFFFFF
##6552BA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#4A697E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6552ba;
/* rgb */ color: rgb(101, 82, 186);
/* oklch */ color: oklch(51.2% 0.157 287.9);
Tailwind
colors: {
  custom: {
    50: '#9683cf',
    500: '#6552ba',
    950: '#000000',
  },
}
SCSS
$custom: #6552ba;
$custom-light: #9683cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6552ba",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 250.962,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.512,
    "c": 0.15741,
    "h": 287.9
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#6552BA
secondary
#C2CA9D
accent
#D355BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6552BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6552BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva