#6844BA#6844BA

#6844BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.177 H 292.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6844BA
RGBrgb(104, 68, 186)
HSLhsl(258, 46%, 50%)
HSVhsv(258, 63%, 73%)
CMYKcmyk(44.1%, 63.4%, 0%, 27.1%)
CIE-LABlab(38.94, 42.90, -57.09)
CIE-LCHlch(38.94, 71.41, 306.92°)
OKLaboklab(49.2% 0.0685 -0.1631)
OKLCHoklch(49.2% 0.177 292.8)
XYZxyz(16.6365, 10.6220, 47.6185)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844BA #96BA44
analogous
#445BBA #6844BA #A344BA
triadic
#6844BA #BA6844 #44BA68
tetradic
#6844BA #BA445B #96BA44 #44BAA3
square
#6844BA #BA445B #96BA44 #44BAA3
split-complementary
#6844BA #BAA344 #5BBA44
monochromatic
#362360 #4F348D #6844BA #8C70CB #B09DDB

Accessibility & contrast

On white

6.72
#6844BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6844BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844BA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844BA#FFFFFF#000000##FFFFFF
##6844BA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#515F79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6844ba;
/* rgb */ color: rgb(104, 68, 186);
/* oklch */ color: oklch(49.2% 0.177 292.8);
Tailwind
colors: {
  custom: {
    50: '#997ad0',
    500: '#6844ba',
    950: '#000000',
  },
}
SCSS
$custom: #6844ba;
$custom-light: #997ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6844ba",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 186
  },
  "hsl": {
    "h": 258.305,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49199,
    "c": 0.17686,
    "h": 292.8
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#6844BA
secondary
#B7C892
accent
#D652AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6844BA

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

Preview Lab → · Contrast checker → · Palette generator →

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