#6844E6#6844E6

#6844E6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.229 H 285.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6844E6
RGBrgb(104, 68, 230)
HSLhsl(253, 76%, 58%)
HSVhsv(253, 70%, 90%)
CMYKcmyk(54.8%, 70.4%, 0%, 9.8%)
CIE-LABlab(42.44, 55.34, -76.77)
CIE-LCHlch(42.44, 94.63, 305.79°)
OKLaboklab(52.81% 0.062 -0.2208)
OKLCHoklch(52.81% 0.229 285.7)
XYZxyz(22.0547, 12.7892, 76.1540)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844E6 #C2E644
analogous
#4471E6 #6844E6 #B944E6
triadic
#6844E6 #E66844 #44E668
tetradic
#6844E6 #E64471 #C2E644 #44E6B9
square
#6844E6 #E64471 #C2E644 #44E6B9
split-complementary
#6844E6 #E6B944 #71E644
monochromatic
#33159B #441CD1 #6844E6 #947AED #BFB0F4

Accessibility & contrast

On white

5.90
#6844E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6844E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844E6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844E6#FFFFFF#000000##FFFFFF
##6844E61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#2F6F91
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6844e6;
/* rgb */ color: rgb(104, 68, 230);
/* oklch */ color: oklch(52.8% 0.229 285.7);
Tailwind
colors: {
  custom: {
    50: '#9f7bef',
    500: '#6844e6',
    950: '#000000',
  },
}
SCSS
$custom: #6844e6;
$custom-light: #9f7bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6844e6",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 230
  },
  "hsl": {
    "h": 253.333,
    "s": 76.415,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.22939,
    "h": 285.7
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#6844E6
secondary
#D5E3A3
accent
#F335C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6844E6

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

Preview Lab → · Contrast checker → · Palette generator →

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