#6854BB#6854BB

#6854BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.9% C 0.156 H 288.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6854BB
RGBrgb(104, 84, 187)
HSLhsl(252, 43%, 53%)
HSVhsv(252, 55%, 73%)
CMYKcmyk(44.4%, 55.1%, 0%, 26.7%)
CIE-LABlab(42.57, 33.86, -51.81)
CIE-LCHlch(42.57, 61.90, 303.17°)
OKLaboklab(51.89% 0.05 -0.1475)
OKLCHoklch(51.89% 0.156 288.7)
XYZxyz(17.8463, 12.8709, 48.5481)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854BB #A7BB54
analogous
#5474BB #6854BB #9B54BB
triadic
#6854BB #BB6854 #54BB68
tetradic
#6854BB #BB5474 #A7BB54 #54BB9B
square
#6854BB #BB5474 #A7BB54 #54BB9B
split-complementary
#6854BB #BB9B54 #74BB54
monochromatic
#372A6A #4D3C96 #6854BB #8F80CC #B5ACDE

Accessibility & contrast

On white

5.88
#6854BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6854BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854BB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854BB#FFFFFF#000000##FFFFFF
##6854BB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#4F6A7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6854bb;
/* rgb */ color: rgb(104, 84, 187);
/* oklch */ color: oklch(51.9% 0.156 288.7);
Tailwind
colors: {
  custom: {
    50: '#9884d0',
    500: '#6854bb',
    950: '#000000',
  },
}
SCSS
$custom: #6854bb;
$custom-light: #9884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6854bb",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 251.65,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51885,
    "c": 0.15575,
    "h": 288.7
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#6854BB
secondary
#C3CC9F
accent
#D355BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6854BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6854BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva