#6E54CD#6E54CD

#6E54CD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.179 H 288.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6E54CD
RGBrgb(110, 84, 205)
HSLhsl(253, 55%, 57%)
HSVhsv(253, 59%, 80%)
CMYKcmyk(46.3%, 59%, 0%, 19.6%)
CIE-LABlab(44.32, 40.41, -59.39)
CIE-LCHlch(44.32, 71.84, 304.23°)
OKLaboklab(53.7% 0.0577 -0.1696)
OKLCHoklch(53.7% 0.179 288.8)
XYZxyz(20.6170, 14.0626, 59.3738)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54CD #B3CD54
analogous
#5477CD #6E54CD #AB54CD
triadic
#6E54CD #CD6E54 #54CD6E
tetradic
#6E54CD #CD5477 #B3CD54 #54CDAB
square
#6E54CD #CD5477 #B3CD54 #54CDAB
split-complementary
#6E54CD #CDAB54 #77CD54
monochromatic
#392681 #4E34B0 #6E54CD #9683DB #BEB3E9

Accessibility & contrast

On white

5.51
#6E54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6E54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54CD#FFFFFF#000000##FFFFFF
##6E54CD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#506F88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6e54cd;
/* rgb */ color: rgb(110, 84, 205);
/* oklch */ color: oklch(53.7% 0.179 288.8);
Tailwind
colors: {
  custom: {
    50: '#9e85dd',
    500: '#6e54cd',
    950: '#000000',
  },
}
SCSS
$custom: #6e54cd;
$custom-light: #9e85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54cd",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 252.893,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.17917,
    "h": 288.8
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#6E54CD
secondary
#CDD7A6
accent
#DE4ABE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6E54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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