#6844BF#6844BF

#6844BF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.183 H 291.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6844BF
RGBrgb(104, 68, 191)
HSLhsl(258, 49%, 51%)
HSVhsv(258, 64%, 75%)
CMYKcmyk(45.5%, 64.4%, 0%, 25.1%)
CIE-LABlab(39.31, 44.30, -59.42)
CIE-LCHlch(39.31, 74.12, 306.70°)
OKLaboklab(49.58% 0.068 -0.1699)
OKLCHoklch(49.58% 0.183 291.8)
XYZxyz(17.1774, 10.8383, 50.4671)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844BF #9BBF44
analogous
#445DBF #6844BF #A544BF
triadic
#6844BF #BF6844 #44BF68
tetradic
#6844BF #BF445D #9BBF44 #44BFA5
square
#6844BF #BF445D #9BBF44 #44BFA5
split-complementary
#6844BF #BFA544 #5DBF44
monochromatic
#362366 #4F3293 #6844BF #8D72CF #B29FDE

Accessibility & contrast

On white

6.63
#6844BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6844BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844BF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844BF#FFFFFF#000000##FFFFFF
##6844BF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#4E617B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6844bf;
/* rgb */ color: rgb(104, 68, 191);
/* oklch */ color: oklch(49.6% 0.183 291.8);
Tailwind
colors: {
  custom: {
    50: '#9a7ad3',
    500: '#6844bf',
    950: '#000000',
  },
}
SCSS
$custom: #6844bf;
$custom-light: #9a7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#6844bf",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 191
  },
  "hsl": {
    "h": 257.561,
    "s": 49.004,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.18302,
    "h": 291.8
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#6844BF
secondary
#BBCB94
accent
#D94FB0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6844BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6844BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva