#6C52DA#6C52DA

#6C52DA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.198 H 286.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6C52DA
RGBrgb(108, 82, 218)
HSLhsl(251, 65%, 59%)
HSVhsv(251, 62%, 85%)
CMYKcmyk(50.5%, 62.4%, 0%, 14.5%)
CIE-LABlab(44.64, 44.94, -66.34)
CIE-LCHlch(44.64, 80.13, 304.12°)
OKLaboklab(54.18% 0.0565 -0.1901)
OKLCHoklch(54.18% 0.198 286.5)
XYZxyz(21.8528, 14.2836, 67.9216)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52DA #C0DA52
analogous
#527CDA #6C52DA #B052DA
triadic
#6C52DA #DA6C52 #52DA6C
tetradic
#6C52DA #DA527C #C0DA52 #52DAB0
square
#6C52DA #DA527C #C0DA52 #52DAB0
split-complementary
#6C52DA #DAB052 #7CDA52
monochromatic
#351F92 #482AC5 #6C52DA #9784E5 #C2B7F0

Accessibility & contrast

On white

5.44
#6C52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6C52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52DA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52DA#FFFFFF#000000##FFFFFF
##6C52DA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#43738E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c52da;
/* rgb */ color: rgb(108, 82, 218);
/* oklch */ color: oklch(54.2% 0.198 286.5);
Tailwind
colors: {
  custom: {
    50: '#9f84e6',
    500: '#6c52da',
    950: '#000000',
  },
}
SCSS
$custom: #6c52da;
$custom-light: #9f84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52da",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 251.471,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.19835,
    "h": 286.5
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#6C52DA
secondary
#D4DFA9
accent
#E840C8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6C52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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