#6C52DF#6C52DF

#6C52DF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.205 H 285.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6C52DF
RGBrgb(108, 82, 223)
HSLhsl(251, 69%, 60%)
HSVhsv(251, 63%, 87%)
CMYKcmyk(51.6%, 63.2%, 0%, 12.5%)
CIE-LABlab(45.01, 46.40, -68.58)
CIE-LCHlch(45.01, 82.81, 304.08°)
OKLaboklab(54.56% 0.056 -0.1967)
OKLCHoklch(54.56% 0.205 285.9)
XYZxyz(22.5170, 14.5493, 71.4196)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52DF #C5DF52
analogous
#527FDF #6C52DF #B352DF
triadic
#6C52DF #DF6C52 #52DF6C
tetradic
#6C52DF #DF527F #C5DF52 #52DFB3
square
#6C52DF #DF527F #C5DF52 #52DFB3
split-complementary
#6C52DF #DFB352 #7FDF52
monochromatic
#341D9A #4526CE #6C52DF #9886E9 #C4B9F2

Accessibility & contrast

On white

5.37
#6C52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6C52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52DF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52DF#FFFFFF#000000##FFFFFF
##6C52DF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#3F7491
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c52df;
/* rgb */ color: rgb(108, 82, 223);
/* oklch */ color: oklch(54.6% 0.205 285.9);
Tailwind
colors: {
  custom: {
    50: '#9f84ea',
    500: '#6c52df',
    950: '#000000',
  },
}
SCSS
$custom: #6c52df;
$custom-light: #9f84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52df",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 251.064,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.20455,
    "h": 285.9
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#6C52DF
secondary
#D8E2AB
accent
#EC3CCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6C52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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