#6B52DC#6B52DC

#6B52DC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.2% C 0.201 H 285.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6B52DC
RGBrgb(107, 82, 220)
HSLhsl(251, 66%, 59%)
HSVhsv(251, 63%, 86%)
CMYKcmyk(51.4%, 62.7%, 0%, 13.7%)
CIE-LABlab(44.70, 45.34, -67.39)
CIE-LCHlch(44.70, 81.22, 303.94°)
OKLaboklab(54.25% 0.055 -0.1932)
OKLCHoklch(54.25% 0.201 285.9)
XYZxyz(21.9951, 14.3266, 69.3026)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52DC #C3DC52
analogous
#527EDC #6B52DC #B052DC
triadic
#6B52DC #DC6B52 #52DC6B
tetradic
#6B52DC #DC527E #C3DC52 #52DCB0
square
#6B52DC #DC527E #C3DC52 #52DCB0
split-complementary
#6B52DC #DCB052 #7EDC52
monochromatic
#341E95 #4529C8 #6B52DC #9785E6 #C2B8F1

Accessibility & contrast

On white

5.43
#6B52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6B52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B52DC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52DC#FFFFFF#000000##FFFFFF
##6B52DC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#3F738F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b52dc;
/* rgb */ color: rgb(107, 82, 220);
/* oklch */ color: oklch(54.2% 0.201 285.9);
Tailwind
colors: {
  custom: {
    50: '#9e84e8',
    500: '#6b52dc',
    950: '#000000',
  },
}
SCSS
$custom: #6b52dc;
$custom-light: #9e84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52dc",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 250.87,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.20091,
    "h": 285.9
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#6B52DC
secondary
#D6E0AA
accent
#E93FCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6B52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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