#6D52DB#6D52DB

#6D52DB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.200 H 286.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6D52DB
RGBrgb(109, 82, 219)
HSLhsl(252, 66%, 59%)
HSVhsv(252, 63%, 86%)
CMYKcmyk(50.2%, 62.6%, 0%, 14.1%)
CIE-LABlab(44.80, 45.42, -66.64)
CIE-LCHlch(44.80, 80.65, 304.28°)
OKLaboklab(54.34% 0.0577 -0.191)
OKLCHoklch(54.34% 0.2 286.8)
XYZxyz(22.1064, 14.3992, 68.6186)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52DB #C0DB52
analogous
#527CDB #6D52DB #B252DB
triadic
#6D52DB #DB6D52 #52DB6D
tetradic
#6D52DB #DB527C #C0DB52 #52DBB2
square
#6D52DB #DB527C #C0DB52 #52DBB2
split-complementary
#6D52DB #DBB252 #7CDB52
monochromatic
#361F94 #4829C6 #6D52DB #9885E6 #C3B7F0

Accessibility & contrast

On white

5.41
#6D52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6D52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52DB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52DB#FFFFFF#000000##FFFFFF
##6D52DB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#45738F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d52db;
/* rgb */ color: rgb(109, 82, 219);
/* oklch */ color: oklch(54.3% 0.200 286.8);
Tailwind
colors: {
  custom: {
    50: '#9f84e7',
    500: '#6d52db',
    950: '#000000',
  },
}
SCSS
$custom: #6d52db;
$custom-light: #9f84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52db",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 251.825,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.19951,
    "h": 286.8
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#6D52DB
secondary
#D5DFAA
accent
#E93FC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6D52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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