#6C52DC#6C52DC

#6C52DC is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.3% C 0.201 H 286.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6C52DC
RGBrgb(108, 82, 220)
HSLhsl(251, 66%, 59%)
HSVhsv(251, 63%, 86%)
CMYKcmyk(50.9%, 62.7%, 0%, 13.7%)
CIE-LABlab(44.79, 45.53, -67.24)
CIE-LCHlch(44.79, 81.20, 304.10°)
OKLaboklab(54.33% 0.0563 -0.1928)
OKLCHoklch(54.33% 0.201 286.3)
XYZxyz(22.1161, 14.3889, 69.3083)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52DC #C2DC52
analogous
#527DDC #6C52DC #B152DC
triadic
#6C52DC #DC6C52 #52DC6C
tetradic
#6C52DC #DC527D #C2DC52 #52DCB1
square
#6C52DC #DC527D #C2DC52 #52DCB1
split-complementary
#6C52DC #DCB152 #7DDC52
monochromatic
#351E95 #4729C8 #6C52DC #9785E6 #C3B8F1

Accessibility & contrast

On white

5.42
#6C52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6C52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52DC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52DC#FFFFFF#000000##FFFFFF
##6C52DC1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#42738F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c52dc;
/* rgb */ color: rgb(108, 82, 220);
/* oklch */ color: oklch(54.3% 0.201 286.3);
Tailwind
colors: {
  custom: {
    50: '#9f84e8',
    500: '#6c52dc',
    950: '#000000',
  },
}
SCSS
$custom: #6c52dc;
$custom-light: #9f84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52dc",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 251.304,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.20083,
    "h": 286.3
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#6C52DC
secondary
#D6E0AA
accent
#E93FC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6C52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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