#6552C2#6552C2

#6552C2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.168 H 286.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6552C2
RGBrgb(101, 82, 194)
HSLhsl(250, 48%, 54%)
HSVhsv(250, 58%, 76%)
CMYKcmyk(47.9%, 57.7%, 0%, 23.9%)
CIE-LABlab(42.30, 36.47, -56.34)
CIE-LCHlch(42.30, 67.11, 302.91°)
OKLaboklab(51.77% 0.0485 -0.1609)
OKLCHoklch(51.77% 0.168 286.8)
XYZxyz(18.1189, 12.6955, 52.5243)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552C2 #AFC252
analogous
#5277C2 #6552C2 #9D52C2
triadic
#6552C2 #C26552 #52C265
tetradic
#6552C2 #C25277 #AFC252 #52C29D
square
#6552C2 #C25277 #AFC252 #52C29D
split-complementary
#6552C2 #C29D52 #77C252
monochromatic
#352872 #49389F #6552C2 #8D7FD2 #B6ACE2

Accessibility & contrast

On white

5.93
#6552C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6552C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6552C2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6552C2#FFFFFF#000000##FFFFFF
##6552C21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#466B82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6552c2;
/* rgb */ color: rgb(101, 82, 194);
/* oklch */ color: oklch(51.8% 0.168 286.8);
Tailwind
colors: {
  custom: {
    50: '#9783d5',
    500: '#6552c2',
    950: '#000000',
  },
}
SCSS
$custom: #6552c2;
$custom-light: #9783d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6552c2",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 250.179,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.16806,
    "h": 286.8
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#6552C2
secondary
#C8D0A0
accent
#D750C1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6552C2

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

Preview Lab → · Contrast checker → · Palette generator →

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