#6E51E8#6E51E8

#6E51E8 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.217 H 285.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6E51E8
RGBrgb(110, 81, 232)
HSLhsl(252, 77%, 61%)
HSVhsv(252, 65%, 91%)
CMYKcmyk(52.6%, 65.1%, 0%, 9%)
CIE-LABlab(45.67, 49.93, -72.60)
CIE-LCHlch(45.67, 88.12, 304.52°)
OKLaboklab(55.3% 0.0587 -0.2085)
OKLCHoklch(55.3% 0.217 285.7)
XYZxyz(23.9340, 15.0248, 77.9672)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E51E8 #CBE851
analogous
#5180E8 #6E51E8 #BA51E8
triadic
#6E51E8 #E86E51 #51E86E
tetradic
#6E51E8 #E85180 #CBE851 #51E8BA
square
#6E51E8 #E85180 #CBE851 #51E8BA
split-complementary
#6E51E8 #E8BA51 #80E851
monochromatic
#3216A8 #421DDE #6E51E8 #9B87EF #C8BDF6

Accessibility & contrast

On white

5.24
#6E51E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6E51E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E51E8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E51E8#FFFFFF#000000##FFFFFF
##6E51E81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#3C7796
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e51e8;
/* rgb */ color: rgb(110, 81, 232);
/* oklch */ color: oklch(55.3% 0.217 285.7);
Tailwind
colors: {
  custom: {
    50: '#a284f0',
    500: '#6e51e8',
    950: '#000000',
  },
}
SCSS
$custom: #6e51e8;
$custom-light: #a284f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e51e8",
  "rgb": {
    "r": 110,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 251.523,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55298,
    "c": 0.21657,
    "h": 285.7
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#6E51E8
secondary
#DCE7AE
accent
#D90DB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E51E8

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

Preview Lab → · Contrast checker → · Palette generator →

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