#6E52EE#6E52EE

#6E52EE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.223 H 284.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6E52EE
RGBrgb(110, 82, 238)
HSLhsl(251, 82%, 63%)
HSVhsv(251, 66%, 93%)
CMYKcmyk(53.8%, 65.5%, 0%, 6.7%)
CIE-LABlab(46.34, 51.12, -74.89)
CIE-LCHlch(46.34, 90.68, 304.32°)
OKLaboklab(55.93% 0.057 -0.2152)
OKLCHoklch(55.93% 0.223 284.8)
XYZxyz(24.8757, 15.5212, 82.5575)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52EE #D2EE52
analogous
#5284EE #6E52EE #BC52EE
triadic
#6E52EE #EE6E52 #52EE6E
tetradic
#6E52EE #EE5284 #D2EE52 #52EEBC
square
#6E52EE #EE5284 #D2EE52 #52EEBC
split-complementary
#6E52EE #EEBC52 #84EE52
monochromatic
#2F12B4 #3F1AE9 #6E52EE #9D8AF3 #CBC1F9

Accessibility & contrast

On white

5.12
#6E52EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6E52EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52EE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52EE#FFFFFF#000000##FFFFFF
##6E52EE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#367999
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6e52ee;
/* rgb */ color: rgb(110, 82, 238);
/* oklch */ color: oklch(55.9% 0.223 284.8);
Tailwind
colors: {
  custom: {
    50: '#a384f5',
    500: '#6e52ee',
    950: '#000000',
  },
}
SCSS
$custom: #6e52ee;
$custom-light: #a384f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52ee",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 250.769,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.22262,
    "h": 284.8
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#6E52EE
secondary
#E0EAB2
accent
#DE07B8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E52EE

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

Preview Lab → · Contrast checker → · Palette generator →

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