#6C52CE#6C52CE

#6C52CE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.183 H 288.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6C52CE
RGBrgb(108, 82, 206)
HSLhsl(253, 56%, 56%)
HSVhsv(253, 60%, 81%)
CMYKcmyk(47.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(43.77, 41.45, -60.87)
CIE-LCHlch(43.77, 73.64, 304.25°)
OKLaboklab(53.27% 0.0572 -0.1741)
OKLCHoklch(53.27% 0.183 288.2)
XYZxyz(20.3390, 13.6781, 59.9490)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52CE #B4CE52
analogous
#5276CE #6C52CE #AA52CE
triadic
#6C52CE #CE6C52 #52CE6C
tetradic
#6C52CE #CE5276 #B4CE52 #52CEAA
square
#6C52CE #CE5276 #B4CE52 #52CEAA
split-complementary
#6C52CE #CEAA52 #76CE52
monochromatic
#382581 #4D32B1 #6C52CE #9582DC #BDB1E9

Accessibility & contrast

On white

5.62
#6C52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6C52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52CE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52CE#FFFFFF#000000##FFFFFF
##6C52CE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#4C6F88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6c52ce;
/* rgb */ color: rgb(108, 82, 206);
/* oklch */ color: oklch(53.3% 0.183 288.2);
Tailwind
colors: {
  custom: {
    50: '#9d84de',
    500: '#6c52ce',
    950: '#000000',
  },
}
SCSS
$custom: #6c52ce;
$custom-light: #9d84de;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52ce",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 252.581,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53267,
    "c": 0.18323,
    "h": 288.2
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#6C52CE
secondary
#CDD7A4
accent
#DF49C0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6C52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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