#6E52E5#6E52E5

#6E52E5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.2% C 0.212 H 285.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6E52E5
RGBrgb(110, 82, 229)
HSLhsl(251, 74%, 61%)
HSVhsv(251, 64%, 90%)
CMYKcmyk(52%, 64.2%, 0%, 10.2%)
CIE-LABlab(45.64, 48.51, -70.95)
CIE-LCHlch(45.64, 85.95, 304.36°)
OKLaboklab(55.21% 0.0581 -0.2036)
OKLCHoklch(55.21% 0.212 285.9)
XYZxyz(23.5863, 15.0055, 75.7671)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52E5 #C9E552
analogous
#527FE5 #6E52E5 #B852E5
triadic
#6E52E5 #E56E52 #52E56E
tetradic
#6E52E5 #E5527F #C9E552 #52E5B8
square
#6E52E5 #E5527F #C9E552 #52E5B8
split-complementary
#6E52E5 #E5B852 #7FE552
monochromatic
#3319A4 #4421D9 #6E52E5 #9B87ED #C7BCF5

Accessibility & contrast

On white

5.25
#6E52E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6E52E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52E5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52E5#FFFFFF#000000##FFFFFF
##6E52E51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#3F7694
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e52e5;
/* rgb */ color: rgb(110, 82, 229);
/* oklch */ color: oklch(55.2% 0.212 285.9);
Tailwind
colors: {
  custom: {
    50: '#a184ee',
    500: '#6e52e5',
    950: '#000000',
  },
}
SCSS
$custom: #6e52e5;
$custom-light: #a184ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52e5",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 251.429,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.21174,
    "h": 285.9
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#6E52E5
secondary
#DBE5AE
accent
#D610B0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E52E5

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

Preview Lab → · Contrast checker → · Palette generator →

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