#6C52C7#6C52C7

#6C52C7 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.174 H 289.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6C52C7
RGBrgb(108, 82, 199)
HSLhsl(253, 51%, 55%)
HSVhsv(253, 59%, 78%)
CMYKcmyk(45.7%, 58.8%, 0%, 22%)
CIE-LABlab(43.28, 39.42, -57.62)
CIE-LCHlch(43.28, 69.82, 304.38°)
OKLaboklab(52.75% 0.0575 -0.1645)
OKLCHoklch(52.75% 0.174 289.3)
XYZxyz(19.5075, 13.3455, 55.5699)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52C7 #ADC752
analogous
#5273C7 #6C52C7 #A652C7
triadic
#6C52C7 #C76C52 #52C76C
tetradic
#6C52C7 #C75273 #ADC752 #52C7A6
square
#6C52C7 #C75273 #ADC752 #52C7A6
split-complementary
#6C52C7 #C7A652 #73C752
monochromatic
#392778 #4F36A6 #6C52C7 #9380D6 #BBAEE5

Accessibility & contrast

On white

5.72
#6C52C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6C52C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52C7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52C7#FFFFFF#000000##FFFFFF
##6C52C71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#506C84
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c52c7;
/* rgb */ color: rgb(108, 82, 199);
/* oklch */ color: oklch(52.8% 0.174 289.3);
Tailwind
colors: {
  custom: {
    50: '#9c83d9',
    500: '#6c52c7',
    950: '#000000',
  },
}
SCSS
$custom: #6c52c7;
$custom-light: #9c83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52c7",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 253.333,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.17426,
    "h": 289.3
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#6C52C7
secondary
#C8D3A2
accent
#DB4DBB
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6C52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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