#6844DE#6844DE

#6844DE is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.220 H 286.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6844DE
RGBrgb(104, 68, 222)
HSLhsl(254, 70%, 57%)
HSVhsv(254, 69%, 87%)
CMYKcmyk(53.2%, 69.4%, 0%, 12.9%)
CIE-LABlab(41.77, 53.07, -73.32)
CIE-LCHlch(41.77, 90.51, 305.90°)
OKLaboklab(52.12% 0.0635 -0.2107)
OKLCHoklch(52.12% 0.22 286.8)
XYZxyz(20.9569, 12.3501, 70.3726)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844DE #BADE44
analogous
#446DDE #6844DE #B544DE
triadic
#6844DE #DE6844 #44DE68
tetradic
#6844DE #DE446D #BADE44 #44DEB5
square
#6844DE #DE446D #BADE44 #44DEB5
split-complementary
#6844DE #DEB544 #6DDE44
monochromatic
#35198E #4822C2 #6844DE #9278E7 #BCACF0

Accessibility & contrast

On white

6.05
#6844DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6844DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844DE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844DE#FFFFFF#000000##FFFFFF
##6844DE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E3
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#376C8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6844de;
/* rgb */ color: rgb(104, 68, 222);
/* oklch */ color: oklch(52.1% 0.220 286.8);
Tailwind
colors: {
  custom: {
    50: '#9e7be9',
    500: '#6844de',
    950: '#000000',
  },
}
SCSS
$custom: #6844de;
$custom-light: #9e7be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6844de",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 222
  },
  "hsl": {
    "h": 254.026,
    "s": 70,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.22011,
    "h": 286.8
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#6844DE
secondary
#D0DE9F
accent
#ED3BC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6844DE

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

Preview Lab → · Contrast checker → · Palette generator →

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