#6844CE#6844CE

#6844CE is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.8% C 0.201 H 289.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6844CE
RGBrgb(104, 68, 206)
HSLhsl(256, 58%, 54%)
HSVhsv(256, 67%, 81%)
CMYKcmyk(49.5%, 67%, 0%, 19.2%)
CIE-LABlab(40.46, 48.53, -66.26)
CIE-LCHlch(40.46, 82.13, 306.22°)
OKLaboklab(50.78% 0.0661 -0.19)
OKLCHoklch(50.78% 0.201 289.2)
XYZxyz(18.9134, 11.5327, 59.6100)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844CE #AACE44
analogous
#4465CE #6844CE #AD44CE
triadic
#6844CE #CE6844 #44CE68
tetradic
#6844CE #CE4465 #AACE44 #44CEAD
square
#6844CE #CE4465 #AACE44 #44CEAD
split-complementary
#6844CE #CEAD44 #65CE44
monochromatic
#371F78 #4D2CA9 #6844CE #8F74DB #B6A5E7

Accessibility & contrast

On white

6.35
#6844CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6844CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844CE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844CE#FFFFFF#000000##FFFFFF
##6844CE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#456683
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6844ce;
/* rgb */ color: rgb(104, 68, 206);
/* oklch */ color: oklch(50.8% 0.201 289.2);
Tailwind
colors: {
  custom: {
    50: '#9c7ade',
    500: '#6844ce',
    950: '#000000',
  },
}
SCSS
$custom: #6844ce;
$custom-light: #9c7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#6844ce",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 206
  },
  "hsl": {
    "h": 255.652,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.2012,
    "h": 289.2
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#6844CE
secondary
#C5D499
accent
#E246B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844CE

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

Preview Lab → · Contrast checker → · Palette generator →

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