#6844DB#6844DB

#6844DB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.217 H 287.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6844DB
RGBrgb(104, 68, 219)
HSLhsl(254, 68%, 56%)
HSVhsv(254, 69%, 86%)
CMYKcmyk(52.5%, 68.9%, 0%, 14.1%)
CIE-LABlab(41.52, 52.22, -72.02)
CIE-LCHlch(41.52, 88.95, 305.95°)
OKLaboklab(51.86% 0.0641 -0.2069)
OKLCHoklch(51.86% 0.217 287.2)
XYZxyz(20.5584, 12.1907, 68.2739)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844DB #B7DB44
analogous
#446CDB #6844DB #B444DB
triadic
#6844DB #DB6844 #44DB68
tetradic
#6844DB #DB446C #B7DB44 #44DBB4
square
#6844DB #DB446C #B7DB44 #44DBB4
split-complementary
#6844DB #DBB444 #6CDB44
monochromatic
#351B8A #4924BD #6844DB #9177E5 #BBABEF

Accessibility & contrast

On white

6.11
#6844DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6844DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844DB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844DB#FFFFFF#000000##FFFFFF
##6844DB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#3A6B8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6844db;
/* rgb */ color: rgb(104, 68, 219);
/* oklch */ color: oklch(51.9% 0.217 287.2);
Tailwind
colors: {
  custom: {
    50: '#9d7be7',
    500: '#6844db',
    950: '#000000',
  },
}
SCSS
$custom: #6844db;
$custom-light: #9d7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6844db",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 219
  },
  "hsl": {
    "h": 254.305,
    "s": 67.713,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.21661,
    "h": 287.2
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#6844DB
secondary
#CEDC9E
accent
#EB3DC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6844DB

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

Preview Lab → · Contrast checker → · Palette generator →

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