#6E54E7#6E54E7

#6E54E7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.7% C 0.212 H 285.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6E54E7
RGBrgb(110, 84, 231)
HSLhsl(251, 75%, 62%)
HSVhsv(251, 64%, 91%)
CMYKcmyk(52.4%, 63.6%, 0%, 9.4%)
CIE-LABlab(46.21, 47.97, -71.16)
CIE-LCHlch(46.21, 85.82, 303.99°)
OKLaboklab(55.67% 0.056 -0.2042)
OKLCHoklch(55.67% 0.212 285.3)
XYZxyz(24.0202, 15.4239, 77.2972)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54E7 #CDE754
analogous
#5484E7 #6E54E7 #B854E7
triadic
#6E54E7 #E76E54 #54E76E
tetradic
#6E54E7 #E75484 #CDE754 #54E7B8
square
#6E54E7 #E75484 #CDE754 #54E7B8
split-complementary
#6E54E7 #E7B854 #84E754
monochromatic
#3118A9 #411FDF #6E54E7 #9C8AEF #C9BFF6

Accessibility & contrast

On white

5.14
#6E54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6E54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54E7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54E7#FFFFFF#000000##FFFFFF
##6E54E71.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#3D7896
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e54e7;
/* rgb */ color: rgb(110, 84, 231);
/* oklch */ color: oklch(55.7% 0.212 285.3);
Tailwind
colors: {
  custom: {
    50: '#a186f0',
    500: '#6e54e7',
    950: '#000000',
  },
}
SCSS
$custom: #6e54e7;
$custom-light: #a186f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54e7",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 250.612,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.21176,
    "h": 285.3
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#6E54E7
secondary
#DDE7B0
accent
#D80EB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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