#6C52CC#6C52CC

#6C52CC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.181 H 288.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6C52CC
RGBrgb(108, 82, 204)
HSLhsl(253, 54%, 56%)
HSVhsv(253, 60%, 80%)
CMYKcmyk(47.1%, 59.8%, 0%, 20%)
CIE-LABlab(43.63, 40.87, -59.95)
CIE-LCHlch(43.63, 72.55, 304.28°)
OKLaboklab(53.12% 0.0573 -0.1713)
OKLCHoklch(53.12% 0.181 288.5)
XYZxyz(20.0976, 13.5815, 58.6776)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52CC #B2CC52
analogous
#5275CC #6C52CC #A952CC
triadic
#6C52CC #CC6C52 #52CC6C
tetradic
#6C52CC #CC5275 #B2CC52 #52CCA9
square
#6C52CC #CC5275 #B2CC52 #52CCA9
split-complementary
#6C52CC #CCA952 #75CC52
monochromatic
#38257E #4D33AE #6C52CC #9481DA #BCB1E8

Accessibility & contrast

On white

5.65
#6C52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6C52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52CC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52CC#FFFFFF#000000##FFFFFF
##6C52CC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#4D6E87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6c52cc;
/* rgb */ color: rgb(108, 82, 204);
/* oklch */ color: oklch(53.1% 0.181 288.5);
Tailwind
colors: {
  custom: {
    50: '#9d84dc',
    500: '#6c52cc',
    950: '#000000',
  },
}
SCSS
$custom: #6c52cc;
$custom-light: #9d84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52cc",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 252.787,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.18067,
    "h": 288.5
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#6C52CC
secondary
#CBD6A4
accent
#DE4ABE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6C52CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6C52CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva