#6844BC#6844BC

#6844BC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.179 H 292.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6844BC
RGBrgb(104, 68, 188)
HSLhsl(258, 47%, 50%)
HSVhsv(258, 64%, 74%)
CMYKcmyk(44.7%, 63.8%, 0%, 26.3%)
CIE-LABlab(39.08, 43.46, -58.03)
CIE-LCHlch(39.08, 72.50, 306.83°)
OKLaboklab(49.35% 0.0683 -0.1658)
OKLCHoklch(49.35% 0.179 292.4)
XYZxyz(16.8506, 10.7076, 48.7461)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844BC #98BC44
analogous
#445CBC #6844BC #A444BC
triadic
#6844BC #BC6844 #44BC68
tetradic
#6844BC #BC445C #98BC44 #44BCA4
square
#6844BC #BC445C #98BC44 #44BCA4
split-complementary
#6844BC #BCA444 #5CBC44
monochromatic
#362362 #4F338F #6844BC #8C71CC #B19EDC

Accessibility & contrast

On white

6.68
#6844BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6844BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844BC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844BC#FFFFFF#000000##FFFFFF
##6844BC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#50607A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6844bc;
/* rgb */ color: rgb(104, 68, 188);
/* oklch */ color: oklch(49.4% 0.179 292.4);
Tailwind
colors: {
  custom: {
    50: '#997ad1',
    500: '#6844bc',
    950: '#000000',
  },
}
SCSS
$custom: #6844bc;
$custom-light: #997ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6844bc",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 188
  },
  "hsl": {
    "h": 258,
    "s": 47.244,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.17933,
    "h": 292.4
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#6844BC
secondary
#B9C993
accent
#D751AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6844BC

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

Preview Lab → · Contrast checker → · Palette generator →

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