#6C54BB#6C54BB

#6C54BB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.2% C 0.156 H 290.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6C54BB
RGBrgb(108, 84, 187)
HSLhsl(254, 43%, 53%)
HSVhsv(254, 55%, 73%)
CMYKcmyk(42.2%, 55.1%, 0%, 26.7%)
CIE-LABlab(42.94, 34.79, -51.20)
CIE-LCHlch(42.94, 61.90, 304.20°)
OKLaboklab(52.25% 0.0551 -0.1456)
OKLCHoklch(52.25% 0.156 290.7)
XYZxyz(18.3218, 13.1161, 48.5704)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C54BB #A3BB54
analogous
#546FBB #6C54BB #A054BB
triadic
#6C54BB #BB6C54 #54BB6C
tetradic
#6C54BB #BB546F #A3BB54 #54BBA0
square
#6C54BB #BB546F #A3BB54 #54BBA0
split-complementary
#6C54BB #BBA054 #6FBB54
monochromatic
#392A6A #513C96 #6C54BB #9280CC #B7ACDE

Accessibility & contrast

On white

5.80
#6C54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6C54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C54BB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C54BB#FFFFFF#000000##FFFFFF
##6C54BB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#2563B9
Tritanopia (blue-blind)
#566A7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c54bb;
/* rgb */ color: rgb(108, 84, 187);
/* oklch */ color: oklch(52.2% 0.156 290.7);
Tailwind
colors: {
  custom: {
    50: '#9b85d0',
    500: '#6c54bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c54bb;
$custom-light: #9b85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c54bb",
  "rgb": {
    "r": 108,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 253.981,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.15569,
    "h": 290.7
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#6C54BB
secondary
#C1CC9F
accent
#D355B6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6C54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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