#6E54BE#6E54BE

#6E54BE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.6% C 0.160 H 291.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6E54BE
RGBrgb(110, 84, 190)
HSLhsl(255, 45%, 54%)
HSVhsv(255, 56%, 75%)
CMYKcmyk(42.1%, 55.8%, 0%, 25.5%)
CIE-LABlab(43.32, 36.11, -52.32)
CIE-LCHlch(43.32, 63.58, 304.61°)
OKLaboklab(52.64% 0.0578 -0.1488)
OKLCHoklch(52.64% 0.16 291.2)
XYZxyz(18.8924, 13.3728, 50.2910)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54BE #A4BE54
analogous
#546FBE #6E54BE #A354BE
triadic
#6E54BE #BE6E54 #54BE6E
tetradic
#6E54BE #BE546F #A4BE54 #54BEA3
square
#6E54BE #BE546F #A4BE54 #54BEA3
split-complementary
#6E54BE #BEA354 #6FBE54
monochromatic
#3A2A6E #523B9A #6E54BE #9480CF #B9ADE0

Accessibility & contrast

On white

5.71
#6E54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6E54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54BE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54BE#FFFFFF#000000##FFFFFF
##6E54BE1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#586B81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6e54be;
/* rgb */ color: rgb(110, 84, 190);
/* oklch */ color: oklch(52.6% 0.160 291.2);
Tailwind
colors: {
  custom: {
    50: '#9c85d2',
    500: '#6e54be',
    950: '#000000',
  },
}
SCSS
$custom: #6e54be;
$custom-light: #9c85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54be",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 254.717,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.15967,
    "h": 291.2
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#6E54BE
secondary
#C2CEA0
accent
#D553B5
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #6E54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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