#6844DA#6844DA

#6844DA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.215 H 287.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6844DA
RGBrgb(104, 68, 218)
HSLhsl(254, 67%, 56%)
HSVhsv(254, 69%, 85%)
CMYKcmyk(52.3%, 68.8%, 0%, 14.5%)
CIE-LABlab(41.43, 51.93, -71.58)
CIE-LCHlch(41.43, 88.43, 305.96°)
OKLaboklab(51.78% 0.0642 -0.2056)
OKLCHoklch(51.78% 0.215 287.3)
XYZxyz(20.4272, 12.1382, 67.5826)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844DA #B6DA44
analogous
#446BDA #6844DA #B344DA
triadic
#6844DA #DA6844 #44DA68
tetradic
#6844DA #DA446B #B6DA44 #44DAB3
square
#6844DA #DA446B #B6DA44 #44DAB3
split-complementary
#6844DA #DAB344 #6BDA44
monochromatic
#351B89 #4925BC #6844DA #9177E4 #BBAAEE

Accessibility & contrast

On white

6.13
#6844DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6844DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844DA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844DA#FFFFFF#000000##FFFFFF
##6844DA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#3B6B8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6844da;
/* rgb */ color: rgb(104, 68, 218);
/* oklch */ color: oklch(51.8% 0.215 287.3);
Tailwind
colors: {
  custom: {
    50: '#9d7be7',
    500: '#6844da',
    950: '#000000',
  },
}
SCSS
$custom: #6844da;
$custom-light: #9d7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6844da",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 218
  },
  "hsl": {
    "h": 254.4,
    "s": 66.964,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.21543,
    "h": 287.3
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#6844DA
secondary
#CDDC9E
accent
#EA3EC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6844DA

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

Preview Lab → · Contrast checker → · Palette generator →

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