#6844C7#6844C7

#6844C7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.193 H 290.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6844C7
RGBrgb(104, 68, 199)
HSLhsl(256, 54%, 52%)
HSVhsv(256, 66%, 78%)
CMYKcmyk(47.7%, 65.8%, 0%, 22%)
CIE-LABlab(39.92, 46.55, -63.10)
CIE-LCHlch(39.92, 78.41, 306.42°)
OKLaboklab(50.21% 0.0671 -0.1807)
OKLCHoklch(50.21% 0.193 290.4)
XYZxyz(18.0819, 11.2001, 55.2309)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844C7 #A3C744
analogous
#4461C7 #6844C7 #AA44C7
triadic
#6844C7 #C76844 #44C768
tetradic
#6844C7 #C74461 #A3C744 #44C7AA
square
#6844C7 #C74461 #A3C744 #44C7AA
split-complementary
#6844C7 #C7AA44 #61C744
monochromatic
#37216F #4E2F9E #6844C7 #8E73D5 #B4A2E3

Accessibility & contrast

On white

6.48
#6844C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6844C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844C7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844C7#FFFFFF#000000##FFFFFF
##6844C71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#496480
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6844c7;
/* rgb */ color: rgb(104, 68, 199);
/* oklch */ color: oklch(50.2% 0.193 290.4);
Tailwind
colors: {
  custom: {
    50: '#9b7ad9',
    500: '#6844c7',
    950: '#000000',
  },
}
SCSS
$custom: #6844c7;
$custom-light: #9b7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6844c7",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 199
  },
  "hsl": {
    "h": 256.489,
    "s": 53.909,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.19277,
    "h": 290.4
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#6844C7
secondary
#C0D097
accent
#DD4BB5
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844C7

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

Preview Lab → · Contrast checker → · Palette generator →

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