#6C52CA#6C52CA

#6C52CA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.178 H 288.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6C52CA
RGBrgb(108, 82, 202)
HSLhsl(253, 53%, 56%)
HSVhsv(253, 59%, 79%)
CMYKcmyk(46.5%, 59.4%, 0%, 20.8%)
CIE-LABlab(43.49, 40.29, -59.02)
CIE-LCHlch(43.49, 71.46, 304.32°)
OKLaboklab(52.97% 0.0574 -0.1686)
OKLCHoklch(52.97% 0.178 288.8)
XYZxyz(19.8593, 13.4862, 57.4224)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52CA #B0CA52
analogous
#5274CA #6C52CA #A852CA
triadic
#6C52CA #CA6C52 #52CA6C
tetradic
#6C52CA #CA5274 #B0CA52 #52CAA8
square
#6C52CA #CA5274 #B0CA52 #52CAA8
split-complementary
#6C52CA #CAA852 #74CA52
monochromatic
#38267C #4E34AB #6C52CA #9481D8 #BCB0E7

Accessibility & contrast

On white

5.68
#6C52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6C52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52CA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52CA#FFFFFF#000000##FFFFFF
##6C52CA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#4E6D86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6c52ca;
/* rgb */ color: rgb(108, 82, 202);
/* oklch */ color: oklch(53.0% 0.178 288.8);
Tailwind
colors: {
  custom: {
    50: '#9d84db',
    500: '#6c52ca',
    950: '#000000',
  },
}
SCSS
$custom: #6c52ca;
$custom-light: #9d84db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52ca",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 253,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.17811,
    "h": 288.8
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#6C52CA
secondary
#CAD5A3
accent
#DD4BBD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6C52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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