#6C52EC#6C52EC

#6C52EC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.220 H 284.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6C52EC
RGBrgb(108, 82, 236)
HSLhsl(250, 80%, 62%)
HSVhsv(250, 65%, 93%)
CMYKcmyk(54.2%, 65.3%, 0%, 7.5%)
CIE-LABlab(46.01, 50.21, -74.31)
CIE-LCHlch(46.01, 89.68, 304.05°)
OKLaboklab(55.6% 0.0547 -0.2135)
OKLCHoklch(55.6% 0.22 284.4)
XYZxyz(24.3374, 15.2775, 81.0070)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52EC #D2EC52
analogous
#5285EC #6C52EC #B952EC
triadic
#6C52EC #EC6C52 #52EC6C
tetradic
#6C52EC #EC5285 #D2EC52 #52ECB9
square
#6C52EC #EC5285 #D2EC52 #52ECB9
split-complementary
#6C52EC #ECB952 #85EC52
monochromatic
#2E13B0 #3D1BE6 #6C52EC #9B89F2 #CAC0F8

Accessibility & contrast

On white

5.18
#6C52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6C52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52EC#FFFFFF#000000##FFFFFF
##6C52EC1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#327998
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6c52ec;
/* rgb */ color: rgb(108, 82, 236);
/* oklch */ color: oklch(55.6% 0.220 284.4);
Tailwind
colors: {
  custom: {
    50: '#a184f3',
    500: '#6c52ec',
    950: '#000000',
  },
}
SCSS
$custom: #6c52ec;
$custom-light: #a184f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52ec",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 250.13,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55602,
    "c": 0.22042,
    "h": 284.4
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#6C52EC
secondary
#E0E9B1
accent
#DD09B9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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