#6D52DC#6D52DC

#6D52DC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.4% C 0.201 H 286.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6D52DC
RGBrgb(109, 82, 220)
HSLhsl(252, 66%, 59%)
HSVhsv(252, 63%, 86%)
CMYKcmyk(50.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(44.87, 45.71, -67.09)
CIE-LCHlch(44.87, 81.18, 304.27°)
OKLaboklab(54.42% 0.0576 -0.1923)
OKLCHoklch(54.42% 0.201 286.7)
XYZxyz(22.2384, 14.4520, 69.3140)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52DC #C1DC52
analogous
#527CDC #6D52DC #B252DC
triadic
#6D52DC #DC6D52 #52DC6D
tetradic
#6D52DC #DC527C #C1DC52 #52DCB2
square
#6D52DC #DC527C #C1DC52 #52DCB2
split-complementary
#6D52DC #DCB252 #7CDC52
monochromatic
#361E95 #4829C8 #6D52DC #9885E6 #C3B8F1

Accessibility & contrast

On white

5.40
#6D52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6D52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52DC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52DC#FFFFFF#000000##FFFFFF
##6D52DC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#44738F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d52dc;
/* rgb */ color: rgb(109, 82, 220);
/* oklch */ color: oklch(54.4% 0.201 286.7);
Tailwind
colors: {
  custom: {
    50: '#a084e8',
    500: '#6d52dc',
    950: '#000000',
  },
}
SCSS
$custom: #6d52dc;
$custom-light: #a084e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52dc",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 251.739,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54416,
    "c": 0.20075,
    "h": 286.7
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#6D52DC
secondary
#D5E0AA
accent
#E93FC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6D52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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