#6844C2#6844C2

#6844C2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.187 H 291.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6844C2
RGBrgb(104, 68, 194)
HSLhsl(257, 51%, 51%)
HSVhsv(257, 65%, 76%)
CMYKcmyk(46.4%, 64.9%, 0%, 23.9%)
CIE-LABlab(39.53, 45.14, -60.81)
CIE-LCHlch(39.53, 75.73, 306.59°)
OKLaboklab(49.82% 0.0677 -0.174)
OKLCHoklch(49.82% 0.187 291.2)
XYZxyz(17.5109, 10.9717, 52.2236)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844C2 #9EC244
analogous
#445FC2 #6844C2 #A744C2
triadic
#6844C2 #C26844 #44C268
tetradic
#6844C2 #C2445F #9EC244 #44C2A7
square
#6844C2 #C2445F #9EC244 #44C2A7
split-complementary
#6844C2 #C2A744 #5FC244
monochromatic
#372269 #4F3197 #6844C2 #8D72D1 #B3A0E0

Accessibility & contrast

On white

6.57
#6844C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6844C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844C2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844C2#FFFFFF#000000##FFFFFF
##6844C21.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#4C627D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6844c2;
/* rgb */ color: rgb(104, 68, 194);
/* oklch */ color: oklch(49.8% 0.187 291.2);
Tailwind
colors: {
  custom: {
    50: '#9a7ad5',
    500: '#6844c2',
    950: '#000000',
  },
}
SCSS
$custom: #6844c2;
$custom-light: #9a7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#6844c2",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 194
  },
  "hsl": {
    "h": 257.143,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.18669,
    "h": 291.2
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#6844C2
secondary
#BDCD95
accent
#DA4EB2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6844C2

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

Preview Lab → · Contrast checker → · Palette generator →

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