#6844CC#6844CC

#6844CC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.199 H 289.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6844CC
RGBrgb(104, 68, 204)
HSLhsl(256, 57%, 53%)
HSVhsv(256, 67%, 80%)
CMYKcmyk(49%, 66.7%, 0%, 20%)
CIE-LABlab(40.31, 47.96, -65.36)
CIE-LCHlch(40.31, 81.07, 306.27°)
OKLaboklab(50.62% 0.0664 -0.1874)
OKLCHoklch(50.62% 0.199 289.5)
XYZxyz(18.6720, 11.4362, 58.3386)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844CC #A8CC44
analogous
#4464CC #6844CC #AC44CC
triadic
#6844CC #CC6844 #44CC68
tetradic
#6844CC #CC4464 #A8CC44 #44CCAC
square
#6844CC #CC4464 #A8CC44 #44CCAC
split-complementary
#6844CC #CCAC44 #64CC44
monochromatic
#372076 #4D2DA6 #6844CC #8F74D9 #B6A4E6

Accessibility & contrast

On white

6.39
#6844CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6844CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844CC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844CC#FFFFFF#000000##FFFFFF
##6844CC1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#466682
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6844cc;
/* rgb */ color: rgb(104, 68, 204);
/* oklch */ color: oklch(50.6% 0.199 289.5);
Tailwind
colors: {
  custom: {
    50: '#9b7add',
    500: '#6844cc',
    950: '#000000',
  },
}
SCSS
$custom: #6844cc;
$custom-light: #9b7add;
$custom-dark: #000000;
JSON
{
  "hex": "#6844cc",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 255.882,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.19881,
    "h": 289.5
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#6844CC
secondary
#C4D399
accent
#E047B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844CC

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

Preview Lab → · Contrast checker → · Palette generator →

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