#6844D6#6844D6

#6844D6 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.211 H 287.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6844D6
RGBrgb(104, 68, 214)
HSLhsl(255, 64%, 55%)
HSVhsv(255, 68%, 84%)
CMYKcmyk(51.4%, 68.2%, 0%, 16.1%)
CIE-LABlab(41.11, 50.80, -69.82)
CIE-LCHlch(41.11, 86.34, 306.04°)
OKLaboklab(51.44% 0.0649 -0.2005)
OKLCHoklch(51.44% 0.211 287.9)
XYZxyz(19.9101, 11.9314, 64.8592)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844D6 #B2D644
analogous
#4469D6 #6844D6 #B144D6
triadic
#6844D6 #D66844 #44D668
tetradic
#6844D6 #D64469 #B2D644 #44D6B1
square
#6844D6 #D64469 #B2D644 #44D6B1
split-complementary
#6844D6 #D6B144 #69D644
monochromatic
#361D83 #4B28B5 #6844D6 #9176E1 #B9A8EC

Accessibility & contrast

On white

6.20
#6844D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6844D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844D6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844D6#FFFFFF#000000##FFFFFF
##6844D61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#3F6988
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6844d6;
/* rgb */ color: rgb(104, 68, 214);
/* oklch */ color: oklch(51.4% 0.211 287.9);
Tailwind
colors: {
  custom: {
    50: '#9d7be4',
    500: '#6844d6',
    950: '#000000',
  },
}
SCSS
$custom: #6844d6;
$custom-light: #9d7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6844d6",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 214
  },
  "hsl": {
    "h": 254.795,
    "s": 64.035,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51441,
    "c": 0.21072,
    "h": 287.9
  },
  "luminance": 0.11932
}

Semantic roles & 50–950 ramp

primary
#6844D6
secondary
#CAD99C
accent
#E741BE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6844D6

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

Preview Lab → · Contrast checker → · Palette generator →

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