#6844CF#6844CF

#6844CF is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.9% C 0.202 H 289.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6844CF
RGBrgb(104, 68, 207)
HSLhsl(256, 59%, 54%)
HSVhsv(256, 67%, 81%)
CMYKcmyk(49.8%, 67.1%, 0%, 18.8%)
CIE-LABlab(40.54, 48.81, -66.71)
CIE-LCHlch(40.54, 82.66, 306.19°)
OKLaboklab(50.86% 0.066 -0.1913)
OKLCHoklch(50.86% 0.202 289)
XYZxyz(19.0353, 11.5815, 60.2518)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844CF #ABCF44
analogous
#4466CF #6844CF #AE44CF
triadic
#6844CF #CF6844 #44CF68
tetradic
#6844CF #CF4466 #ABCF44 #44CFAE
square
#6844CF #CF4466 #ABCF44 #44CFAE
split-complementary
#6844CF #CFAE44 #66CF44
monochromatic
#371F79 #4C2CAA #6844CF #8F75DC #B7A5E8

Accessibility & contrast

On white

6.33
#6844CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6844CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844CF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844CF#FFFFFF#000000##FFFFFF
##6844CF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#446784
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6844cf;
/* rgb */ color: rgb(104, 68, 207);
/* oklch */ color: oklch(50.9% 0.202 289.0);
Tailwind
colors: {
  custom: {
    50: '#9c7adf',
    500: '#6844cf',
    950: '#000000',
  },
}
SCSS
$custom: #6844cf;
$custom-light: #9c7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#6844cf",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 207
  },
  "hsl": {
    "h": 255.54,
    "s": 59.149,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.2024,
    "h": 289
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#6844CF
secondary
#C6D59A
accent
#E245BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844CF

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

Preview Lab → · Contrast checker → · Palette generator →

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