#6E54BC#6E54BC

#6E54BC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.5% C 0.157 H 291.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6E54BC
RGBrgb(110, 84, 188)
HSLhsl(255, 44%, 53%)
HSVhsv(255, 55%, 74%)
CMYKcmyk(41.5%, 55.3%, 0%, 26.3%)
CIE-LABlab(43.19, 35.55, -51.37)
CIE-LCHlch(43.19, 62.47, 304.68°)
OKLaboklab(52.5% 0.0578 -0.146)
OKLCHoklch(52.5% 0.157 291.6)
XYZxyz(18.6754, 13.2859, 49.1477)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54BC #A2BC54
analogous
#546EBC #6E54BC #A254BC
triadic
#6E54BC #BC6E54 #54BC6E
tetradic
#6E54BC #BC546E #A2BC54 #54BCA2
square
#6E54BC #BC546E #A2BC54 #54BCA2
split-complementary
#6E54BC #BCA254 #6EBC54
monochromatic
#3A2A6B #523B97 #6E54BC #9380CD #B9ACDE

Accessibility & contrast

On white

5.74
#6E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6E54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54BC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54BC#FFFFFF#000000##FFFFFF
##6E54BC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#596A80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6e54bc;
/* rgb */ color: rgb(110, 84, 188);
/* oklch */ color: oklch(52.5% 0.157 291.6);
Tailwind
colors: {
  custom: {
    50: '#9c85d1',
    500: '#6e54bc',
    950: '#000000',
  },
}
SCSS
$custom: #6e54bc;
$custom-light: #9c85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54bc",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 255,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.15703,
    "h": 291.6
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#6E54BC
secondary
#C1CCA0
accent
#D354B4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #6E54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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