#6844D3#6844D3

#6844D3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.2% C 0.207 H 288.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6844D3
RGBrgb(104, 68, 211)
HSLhsl(255, 62%, 55%)
HSVhsv(255, 68%, 83%)
CMYKcmyk(50.7%, 67.8%, 0%, 17.3%)
CIE-LABlab(40.86, 49.95, -68.49)
CIE-LCHlch(40.86, 84.77, 306.10°)
OKLaboklab(51.19% 0.0654 -0.1966)
OKLCHoklch(51.19% 0.207 288.4)
XYZxyz(19.5305, 11.7796, 62.8600)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844D3 #AFD344
analogous
#4468D3 #6844D3 #B044D3
triadic
#6844D3 #D36844 #44D368
tetradic
#6844D3 #D34468 #AFD344 #44D3B0
square
#6844D3 #D34468 #AFD344 #44D3B0
split-complementary
#6844D3 #D3B044 #68D344
monochromatic
#361E7F #4B29B0 #6844D3 #9076DF #B8A7EA

Accessibility & contrast

On white

6.26
#6844D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6844D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844D3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844D3#FFFFFF#000000##FFFFFF
##6844D31.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#416886
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6844d3;
/* rgb */ color: rgb(104, 68, 211);
/* oklch */ color: oklch(51.2% 0.207 288.4);
Tailwind
colors: {
  custom: {
    50: '#9c7ae2',
    500: '#6844d3',
    950: '#000000',
  },
}
SCSS
$custom: #6844d3;
$custom-light: #9c7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#6844d3",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 211
  },
  "hsl": {
    "h": 255.105,
    "s": 61.905,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.20716,
    "h": 288.4
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#6844D3
secondary
#C8D89B
accent
#E543BC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6844D3

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

Preview Lab → · Contrast checker → · Palette generator →

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