#6844CB#6844CB

#6844CB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.198 H 289.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6844CB
RGBrgb(104, 68, 203)
HSLhsl(256, 56%, 53%)
HSVhsv(256, 67%, 80%)
CMYKcmyk(48.8%, 66.5%, 0%, 20.4%)
CIE-LABlab(40.23, 47.68, -64.91)
CIE-LCHlch(40.23, 80.54, 306.30°)
OKLaboklab(50.54% 0.0665 -0.1861)
OKLCHoklch(50.54% 0.198 289.7)
XYZxyz(18.5524, 11.3883, 57.7090)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844CB #A7CB44
analogous
#4463CB #6844CB #AB44CB
triadic
#6844CB #CB6844 #44CB68
tetradic
#6844CB #CB4463 #A7CB44 #44CBAB
square
#6844CB #CB4463 #A7CB44 #44CBAB
split-complementary
#6844CB #CBAB44 #63CB44
monochromatic
#372074 #4D2EA4 #6844CB #8F74D8 #B5A4E6

Accessibility & contrast

On white

6.41
#6844CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6844CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844CB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844CB#FFFFFF#000000##FFFFFF
##6844CB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#476582
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6844cb;
/* rgb */ color: rgb(104, 68, 203);
/* oklch */ color: oklch(50.5% 0.198 289.7);
Tailwind
colors: {
  custom: {
    50: '#9b7adc',
    500: '#6844cb',
    950: '#000000',
  },
}
SCSS
$custom: #6844cb;
$custom-light: #9b7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#6844cb",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 256,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.1976,
    "h": 289.7
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#6844CB
secondary
#C3D398
accent
#E048B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6844CB

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

Preview Lab → · Contrast checker → · Palette generator →

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