#6E54BB#6E54BB

#6E54BB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.4% C 0.156 H 291.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6E54BB
RGBrgb(110, 84, 187)
HSLhsl(255, 43%, 53%)
HSVhsv(255, 55%, 73%)
CMYKcmyk(41.2%, 55.1%, 0%, 26.7%)
CIE-LABlab(43.13, 35.26, -50.88)
CIE-LCHlch(43.13, 61.91, 304.72°)
OKLaboklab(52.43% 0.0577 -0.1446)
OKLCHoklch(52.43% 0.156 291.8)
XYZxyz(18.5679, 13.2430, 48.5819)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54BB #A1BB54
analogous
#546DBB #6E54BB #A154BB
triadic
#6E54BB #BB6E54 #54BB6E
tetradic
#6E54BB #BB546D #A1BB54 #54BBA1
square
#6E54BB #BB546D #A1BB54 #54BBA1
split-complementary
#6E54BB #BBA154 #6DBB54
monochromatic
#3A2A6A #533C96 #6E54BB #9380CC #B8ACDE

Accessibility & contrast

On white

5.76
#6E54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6E54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54BB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54BB#FFFFFF#000000##FFFFFF
##6E54BB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#596A7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6e54bb;
/* rgb */ color: rgb(110, 84, 187);
/* oklch */ color: oklch(52.4% 0.156 291.8);
Tailwind
colors: {
  custom: {
    50: '#9c85d0',
    500: '#6e54bb',
    950: '#000000',
  },
}
SCSS
$custom: #6e54bb;
$custom-light: #9c85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54bb",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 255.146,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.15571,
    "h": 291.8
  },
  "luminance": 0.13244
}

Semantic roles & 50–950 ramp

primary
#6E54BB
secondary
#C0CC9F
accent
#D355B3
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #6E54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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