#6844CA#6844CA

#6844CA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.196 H 289.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6844CA
RGBrgb(104, 68, 202)
HSLhsl(256, 56%, 53%)
HSVhsv(256, 66%, 79%)
CMYKcmyk(48.5%, 66.3%, 0%, 20.8%)
CIE-LABlab(40.15, 47.40, -64.46)
CIE-LCHlch(40.15, 80.01, 306.33°)
OKLaboklab(50.46% 0.0667 -0.1847)
OKLCHoklch(50.46% 0.196 289.8)
XYZxyz(18.4337, 11.3408, 57.0834)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844CA #A6CA44
analogous
#4463CA #6844CA #AB44CA
triadic
#6844CA #CA6844 #44CA68
tetradic
#6844CA #CA4463 #A6CA44 #44CAAB
square
#6844CA #CA4463 #A6CA44 #44CAAB
split-complementary
#6844CA #CAAB44 #63CA44
monochromatic
#372173 #4D2EA3 #6844CA #8F74D8 #B5A3E5

Accessibility & contrast

On white

6.43
#6844CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6844CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844CA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844CA#FFFFFF#000000##FFFFFF
##6844CA1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#476581
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6844ca;
/* rgb */ color: rgb(104, 68, 202);
/* oklch */ color: oklch(50.5% 0.196 289.8);
Tailwind
colors: {
  custom: {
    50: '#9b7adb',
    500: '#6844ca',
    950: '#000000',
  },
}
SCSS
$custom: #6844ca;
$custom-light: #9b7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6844ca",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 256.119,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50455,
    "c": 0.1964,
    "h": 289.8
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#6844CA
secondary
#C2D298
accent
#DF49B7
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844CA

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

Preview Lab → · Contrast checker → · Palette generator →

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