#6B52CC#6B52CC

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

Color values

HEX#6B52CC
RGBrgb(107, 82, 204)
HSLhsl(252, 54%, 56%)
HSVhsv(252, 60%, 80%)
CMYKcmyk(47.5%, 59.8%, 0%, 20%)
CIE-LABlab(43.54, 40.66, -60.10)
CIE-LCHlch(43.54, 72.56, 304.08°)
OKLaboklab(53.03% 0.056 -0.1718)
OKLCHoklch(53.03% 0.181 288.1)
XYZxyz(19.9766, 13.5192, 58.6719)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52CC #B3CC52
analogous
#5276CC #6B52CC #A852CC
triadic
#6B52CC #CC6B52 #52CC6B
tetradic
#6B52CC #CC5276 #B3CC52 #52CCA8
square
#6B52CC #CC5276 #B3CC52 #52CCA8
split-complementary
#6B52CC #CCA852 #76CC52
monochromatic
#38257E #4C33AE #6B52CC #9381DA #BCB1E8

Accessibility & contrast

On white

5.67
#6B52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B52CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52CC#FFFFFF#000000##FFFFFF
##6B52CC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#4B6E87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b52cc;
/* rgb */ color: rgb(107, 82, 204);
/* oklch */ color: oklch(53.0% 0.181 288.1);
Tailwind
colors: {
  custom: {
    50: '#9c84dc',
    500: '#6b52cc',
    950: '#000000',
  },
}
SCSS
$custom: #6b52cc;
$custom-light: #9c84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52cc",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 252.295,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.18072,
    "h": 288.1
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#6B52CC
secondary
#CCD6A4
accent
#DE4AC0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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