#6844D1#6844D1

#6844D1 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.0% C 0.205 H 288.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6844D1
RGBrgb(104, 68, 209)
HSLhsl(255, 61%, 54%)
HSVhsv(255, 67%, 82%)
CMYKcmyk(50.2%, 67.5%, 0%, 18%)
CIE-LABlab(40.70, 49.38, -67.60)
CIE-LCHlch(40.70, 83.72, 306.15°)
OKLaboklab(51.03% 0.0657 -0.194)
OKLCHoklch(51.03% 0.205 288.7)
XYZxyz(19.2813, 11.6799, 61.5477)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844D1 #ADD144
analogous
#4467D1 #6844D1 #AF44D1
triadic
#6844D1 #D16844 #44D168
tetradic
#6844D1 #D14467 #ADD144 #44D1AF
square
#6844D1 #D14467 #ADD144 #44D1AF
split-complementary
#6844D1 #D1AF44 #67D144
monochromatic
#361F7C #4C2BAD #6844D1 #9075DD #B7A6E9

Accessibility & contrast

On white

6.29
#6844D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6844D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844D1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844D1#FFFFFF#000000##FFFFFF
##6844D11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#436885
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6844d1;
/* rgb */ color: rgb(104, 68, 209);
/* oklch */ color: oklch(51.0% 0.205 288.7);
Tailwind
colors: {
  custom: {
    50: '#9c7ae0',
    500: '#6844d1',
    950: '#000000',
  },
}
SCSS
$custom: #6844d1;
$custom-light: #9c7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#6844d1",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 209
  },
  "hsl": {
    "h": 255.319,
    "s": 60.515,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.20479,
    "h": 288.7
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#6844D1
secondary
#C7D69A
accent
#E444BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844D1

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

Preview Lab → · Contrast checker → · Palette generator →

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