#6854BC#6854BC

#6854BC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.0% C 0.157 H 288.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6854BC
RGBrgb(104, 84, 188)
HSLhsl(252, 44%, 53%)
HSVhsv(252, 55%, 74%)
CMYKcmyk(44.7%, 55.3%, 0%, 26.3%)
CIE-LABlab(42.63, 34.16, -52.29)
CIE-LCHlch(42.63, 62.46, 303.15°)
OKLaboklab(51.95% 0.05 -0.1489)
OKLCHoklch(51.95% 0.157 288.6)
XYZxyz(17.9538, 12.9139, 49.1139)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854BC #A8BC54
analogous
#5474BC #6854BC #9C54BC
triadic
#6854BC #BC6854 #54BC68
tetradic
#6854BC #BC5474 #A8BC54 #54BC9C
square
#6854BC #BC5474 #A8BC54 #54BC9C
split-complementary
#6854BC #BC9C54 #74BC54
monochromatic
#372A6B #4D3B97 #6854BC #8F80CD #B6ACDE

Accessibility & contrast

On white

5.86
#6854BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6854BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854BC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854BC#FFFFFF#000000##FFFFFF
##6854BC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#1D62BA
Tritanopia (blue-blind)
#4E6B80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6854bc;
/* rgb */ color: rgb(104, 84, 188);
/* oklch */ color: oklch(52.0% 0.157 288.6);
Tailwind
colors: {
  custom: {
    50: '#9884d1',
    500: '#6854bc',
    950: '#000000',
  },
}
SCSS
$custom: #6854bc;
$custom-light: #9884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6854bc",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 251.538,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.15709,
    "h": 288.6
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#6854BC
secondary
#C4CCA0
accent
#D354BB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6854BC

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

Preview Lab → · Contrast checker → · Palette generator →

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