#6844C8#6844C8

#6844C8 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.194 H 290.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6844C8
RGBrgb(104, 68, 200)
HSLhsl(256, 55%, 53%)
HSVhsv(256, 66%, 78%)
CMYKcmyk(48%, 66%, 0%, 21.6%)
CIE-LABlab(39.99, 46.83, -63.55)
CIE-LCHlch(39.99, 78.95, 306.39°)
OKLaboklab(50.29% 0.0669 -0.1821)
OKLCHoklch(50.29% 0.194 290.2)
XYZxyz(18.1984, 11.2467, 55.8443)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844C8 #A4C844
analogous
#4462C8 #6844C8 #AA44C8
triadic
#6844C8 #C86844 #44C868
tetradic
#6844C8 #C84462 #A4C844 #44C8AA
square
#6844C8 #C84462 #A4C844 #44C8AA
split-complementary
#6844C8 #C8AA44 #62C844
monochromatic
#372171 #4E2FA0 #6844C8 #8E73D6 #B4A3E4

Accessibility & contrast

On white

6.46
#6844C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6844C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844C8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844C8#FFFFFF#000000##FFFFFF
##6844C81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#496480
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6844c8;
/* rgb */ color: rgb(104, 68, 200);
/* oklch */ color: oklch(50.3% 0.194 290.2);
Tailwind
colors: {
  custom: {
    50: '#9b7ada',
    500: '#6844c8',
    950: '#000000',
  },
}
SCSS
$custom: #6844c8;
$custom-light: #9b7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#6844c8",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 256.364,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.19399,
    "h": 290.2
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#6844C8
secondary
#C1D197
accent
#DE4AB6
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844C8

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

Preview Lab → · Contrast checker → · Palette generator →

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