#6844D2#6844D2

#6844D2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.1% C 0.206 H 288.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6844D2
RGBrgb(104, 68, 210)
HSLhsl(255, 61%, 55%)
HSVhsv(255, 68%, 82%)
CMYKcmyk(50.5%, 67.6%, 0%, 17.6%)
CIE-LABlab(40.78, 49.66, -68.05)
CIE-LCHlch(40.78, 84.24, 306.12°)
OKLaboklab(51.11% 0.0655 -0.1953)
OKLCHoklch(51.11% 0.206 288.5)
XYZxyz(19.4055, 11.7296, 62.2018)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844D2 #AED244
analogous
#4467D2 #6844D2 #AF44D2
triadic
#6844D2 #D26844 #44D268
tetradic
#6844D2 #D24467 #AED244 #44D2AF
square
#6844D2 #D24467 #AED244 #44D2AF
split-complementary
#6844D2 #D2AF44 #67D244
monochromatic
#361E7D #4C2AAF #6844D2 #9075DE #B8A7EA

Accessibility & contrast

On white

6.28
#6844D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6844D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844D2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844D2#FFFFFF#000000##FFFFFF
##6844D21.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#426886
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6844d2;
/* rgb */ color: rgb(104, 68, 210);
/* oklch */ color: oklch(51.1% 0.206 288.5);
Tailwind
colors: {
  custom: {
    50: '#9c7ae1',
    500: '#6844d2',
    950: '#000000',
  },
}
SCSS
$custom: #6844d2;
$custom-light: #9c7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#6844d2",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 255.211,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.20598,
    "h": 288.5
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#6844D2
secondary
#C8D79B
accent
#E443BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844D2

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

Preview Lab → · Contrast checker → · Palette generator →

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