#6E54E5#6E54E5

#6E54E5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.5% C 0.209 H 285.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6E54E5
RGBrgb(110, 84, 229)
HSLhsl(251, 74%, 61%)
HSVhsv(251, 63%, 90%)
CMYKcmyk(52%, 63.3%, 0%, 10.2%)
CIE-LABlab(46.06, 47.39, -70.27)
CIE-LCHlch(46.06, 84.76, 303.99°)
OKLaboklab(55.51% 0.0562 -0.2016)
OKLCHoklch(55.51% 0.209 285.6)
XYZxyz(23.7394, 15.3115, 75.8181)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54E5 #CBE554
analogous
#5483E5 #6E54E5 #B754E5
triadic
#6E54E5 #E56E54 #54E56E
tetradic
#6E54E5 #E55483 #CBE554 #54E5B7
square
#6E54E5 #E55483 #CBE554 #54E5B7
split-complementary
#6E54E5 #E5B754 #83E554
monochromatic
#3219A5 #4221DB #6E54E5 #9B89ED #C8BEF5

Accessibility & contrast

On white

5.17
#6E54E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6E54E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54E5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54E5#FFFFFF#000000##FFFFFF
##6E54E51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#3E7795
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e54e5;
/* rgb */ color: rgb(110, 84, 229);
/* oklch */ color: oklch(55.5% 0.209 285.6);
Tailwind
colors: {
  custom: {
    50: '#a185ee',
    500: '#6e54e5',
    950: '#000000',
  },
}
SCSS
$custom: #6e54e5;
$custom-light: #a185ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54e5",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 250.759,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55509,
    "c": 0.20931,
    "h": 285.6
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#6E54E5
secondary
#DCE6AF
accent
#D610B2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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