#6552AE#6552AE

#6552AE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.4% C 0.141 H 289.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6552AE
RGBrgb(101, 82, 174)
HSLhsl(252, 36%, 50%)
HSVhsv(252, 53%, 68%)
CMYKcmyk(42%, 52.9%, 0%, 31.8%)
CIE-LABlab(40.99, 30.57, -46.73)
CIE-LCHlch(40.99, 55.84, 303.19°)
OKLaboklab(50.38% 0.048 -0.1327)
OKLCHoklch(50.38% 0.141 289.9)
XYZxyz(16.0220, 11.8568, 41.4806)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552AE #9BAE52
analogous
#526DAE #6552AE #9352AE
triadic
#6552AE #AE6552 #52AE65
tetradic
#6552AE #AE526D #9BAE52 #52AE93
square
#6552AE #AE526D #9BAE52 #52AE93
split-complementary
#6552AE #AE9352 #6DAE52
monochromatic
#352B5B #4D3E85 #6552AE #8A7CC2 #AFA5D5

Accessibility & contrast

On white

6.23
#6552AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6552AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6552AE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6552AE#FFFFFF#000000##FFFFFF
##6552AE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B1
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#506578
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6552ae;
/* rgb */ color: rgb(101, 82, 174);
/* oklch */ color: oklch(50.4% 0.141 289.9);
Tailwind
colors: {
  custom: {
    50: '#9583c7',
    500: '#6552ae',
    950: '#000000',
  },
}
SCSS
$custom: #6552ae;
$custom-light: #9583c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6552ae",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 252.391,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.1411,
    "h": 289.9
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#6552AE
secondary
#BAC299
accent
#CC5CB5
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6552AE

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

Preview Lab → · Contrast checker → · Palette generator →

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