#6E54E1#6E54E1

#6E54E1 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.2% C 0.204 H 286.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6E54E1
RGBrgb(110, 84, 225)
HSLhsl(251, 70%, 61%)
HSVhsv(251, 63%, 88%)
CMYKcmyk(51.1%, 62.7%, 0%, 11.8%)
CIE-LABlab(45.76, 46.22, -68.49)
CIE-LCHlch(45.76, 82.63, 304.01°)
OKLaboklab(55.2% 0.0565 -0.1964)
OKLCHoklch(55.2% 0.204 286.1)
XYZxyz(23.1873, 15.0907, 72.9106)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54E1 #C7E154
analogous
#5480E1 #6E54E1 #B454E1
triadic
#6E54E1 #E16E54 #54E16E
tetradic
#6E54E1 #E15480 #C7E154 #54E1B4
square
#6E54E1 #E15480 #C7E154 #54E1B4
split-complementary
#6E54E1 #E1B454 #80E154
monochromatic
#341C9F #4525D3 #6E54E1 #9A88EA #C6BCF3

Accessibility & contrast

On white

5.23
#6E54E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6E54E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54E1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54E1#FFFFFF#000000##FFFFFF
##6E54E11.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#427693
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e54e1;
/* rgb */ color: rgb(110, 84, 225);
/* oklch */ color: oklch(55.2% 0.204 286.1);
Tailwind
colors: {
  custom: {
    50: '#a185eb',
    500: '#6e54e1',
    950: '#000000',
  },
}
SCSS
$custom: #6e54e1;
$custom-light: #a185eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54e1",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 251.064,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.20437,
    "h": 286.1
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#6E54E1
secondary
#D9E3AE
accent
#D213AF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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