#6E54E4#6E54E4

#6E54E4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.4% C 0.208 H 285.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6E54E4
RGBrgb(110, 84, 228)
HSLhsl(251, 73%, 61%)
HSVhsv(251, 63%, 89%)
CMYKcmyk(51.8%, 63.2%, 0%, 10.6%)
CIE-LABlab(45.98, 47.10, -69.83)
CIE-LCHlch(45.98, 84.23, 304.00°)
OKLaboklab(55.43% 0.0563 -0.2003)
OKLCHoklch(55.43% 0.208 285.7)
XYZxyz(23.6001, 15.2559, 75.0849)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54E4 #CAE454
analogous
#5482E4 #6E54E4 #B654E4
triadic
#6E54E4 #E46E54 #54E46E
tetradic
#6E54E4 #E45482 #CAE454 #54E4B6
square
#6E54E4 #E45482 #CAE454 #54E4B6
split-complementary
#6E54E4 #E4B654 #82E454
monochromatic
#331AA4 #4322D9 #6E54E4 #9B89EC #C8BEF5

Accessibility & contrast

On white

5.18
#6E54E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6E54E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54E4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54E4#FFFFFF#000000##FFFFFF
##6E54E41.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#3F7794
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e54e4;
/* rgb */ color: rgb(110, 84, 228);
/* oklch */ color: oklch(55.4% 0.208 285.7);
Tailwind
colors: {
  custom: {
    50: '#a185ed',
    500: '#6e54e4',
    950: '#000000',
  },
}
SCSS
$custom: #6e54e4;
$custom-light: #a185ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54e4",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 250.833,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.20808,
    "h": 285.7
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#6E54E4
secondary
#DBE5AF
accent
#D511B1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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