#6E52DC#6E52DC

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

Color values

HEX#6E52DC
RGBrgb(110, 82, 220)
HSLhsl(252, 66%, 59%)
HSVhsv(252, 63%, 86%)
CMYKcmyk(50%, 62.7%, 0%, 13.7%)
CIE-LABlab(44.96, 45.90, -66.94)
CIE-LCHlch(44.96, 81.17, 304.43°)
OKLaboklab(54.5% 0.0589 -0.1918)
OKLCHoklch(54.5% 0.201 287.1)
XYZxyz(22.3622, 14.5158, 69.3198)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52DC #C0DC52
analogous
#527BDC #6E52DC #B352DC
triadic
#6E52DC #DC6E52 #52DC6E
tetradic
#6E52DC #DC527B #C0DC52 #52DCB3
square
#6E52DC #DC527B #C0DC52 #52DCB3
split-complementary
#6E52DC #DCB352 #7BDC52
monochromatic
#361E95 #4929C8 #6E52DC #9985E6 #C3B8F1

Accessibility & contrast

On white

5.38
#6E52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6E52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52DC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52DC#FFFFFF#000000##FFFFFF
##6E52DC1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e52dc;
/* rgb */ color: rgb(110, 82, 220);
/* oklch */ color: oklch(54.5% 0.201 287.1);
Tailwind
colors: {
  custom: {
    50: '#a084e8',
    500: '#6e52dc',
    950: '#000000',
  },
}
SCSS
$custom: #6e52dc;
$custom-light: #a084e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52dc",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 252.174,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.20068,
    "h": 287.1
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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