#6844D8#6844D8

#6844D8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.213 H 287.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6844D8
RGBrgb(104, 68, 216)
HSLhsl(255, 65%, 56%)
HSVhsv(255, 69%, 85%)
CMYKcmyk(51.9%, 68.5%, 0%, 15.3%)
CIE-LABlab(41.27, 51.37, -70.70)
CIE-LCHlch(41.27, 87.39, 306.00°)
OKLaboklab(51.61% 0.0646 -0.2031)
OKLCHoklch(51.61% 0.213 287.6)
XYZxyz(20.1671, 12.0342, 66.2126)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844D8 #B4D844
analogous
#446AD8 #6844D8 #B244D8
triadic
#6844D8 #D86844 #44D868
tetradic
#6844D8 #D8446A #B4D844 #44D8B2
square
#6844D8 #D8446A #B4D844 #44D8B2
split-complementary
#6844D8 #D8B244 #6AD844
monochromatic
#361C86 #4A26B8 #6844D8 #9177E3 #BAA9ED

Accessibility & contrast

On white

6.16
#6844D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6844D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844D8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844D8#FFFFFF#000000##FFFFFF
##6844D81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#3D6A89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6844d8;
/* rgb */ color: rgb(104, 68, 216);
/* oklch */ color: oklch(51.6% 0.213 287.6);
Tailwind
colors: {
  custom: {
    50: '#9d7be5',
    500: '#6844d8',
    950: '#000000',
  },
}
SCSS
$custom: #6844d8;
$custom-light: #9d7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#6844d8",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 216
  },
  "hsl": {
    "h": 254.595,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51609,
    "c": 0.21308,
    "h": 287.6
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#6844D8
secondary
#CCDB9D
accent
#E83FBF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6844D8

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

Preview Lab → · Contrast checker → · Palette generator →

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