#6A52DC#6A52DC

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

Color values

HEX#6A52DC
RGBrgb(106, 82, 220)
HSLhsl(250, 66%, 59%)
HSVhsv(250, 63%, 86%)
CMYKcmyk(51.8%, 62.7%, 0%, 13.7%)
CIE-LABlab(44.61, 45.16, -67.53)
CIE-LCHlch(44.61, 81.24, 303.77°)
OKLaboklab(54.16% 0.0537 -0.1937)
OKLCHoklch(54.16% 0.201 285.5)
XYZxyz(21.8756, 14.2649, 69.2970)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A52DC #C4DC52
analogous
#527FDC #6A52DC #AF52DC
triadic
#6A52DC #DC6A52 #52DC6A
tetradic
#6A52DC #DC527F #C4DC52 #52DCAF
square
#6A52DC #DC527F #C4DC52 #52DCAF
split-complementary
#6A52DC #DCAF52 #7FDC52
monochromatic
#331E95 #4429C8 #6A52DC #9685E6 #C2B8F1

Accessibility & contrast

On white

5.45
#6A52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6A52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A52DC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A52DC#FFFFFF#000000##FFFFFF
##6A52DC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#3D738F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a52dc;
/* rgb */ color: rgb(106, 82, 220);
/* oklch */ color: oklch(54.2% 0.201 285.5);
Tailwind
colors: {
  custom: {
    50: '#9e84e8',
    500: '#6a52dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a52dc;
$custom-light: #9e84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a52dc",
  "rgb": {
    "r": 106,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 250.435,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.201,
    "h": 285.5
  },
  "luminance": 0.14266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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