#6844E4#6844E4

#6844E4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.227 H 285.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6844E4
RGBrgb(104, 68, 228)
HSLhsl(254, 75%, 58%)
HSVhsv(254, 70%, 89%)
CMYKcmyk(54.4%, 70.2%, 0%, 10.6%)
CIE-LABlab(42.27, 54.77, -75.91)
CIE-LCHlch(42.27, 93.61, 305.81°)
OKLaboklab(52.63% 0.0624 -0.2183)
OKLCHoklch(52.63% 0.227 285.9)
XYZxyz(21.7754, 12.6775, 74.6833)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844E4 #C0E444
analogous
#4470E4 #6844E4 #B844E4
triadic
#6844E4 #E46844 #44E468
tetradic
#6844E4 #E44470 #C0E444 #44E4B8
square
#6844E4 #E44470 #C0E444 #44E4B8
split-complementary
#6844E4 #E4B844 #70E444
monochromatic
#331698 #451ECD #6844E4 #9379EC #BEAFF3

Accessibility & contrast

On white

5.94
#6844E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6844E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844E4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844E4#FFFFFF#000000##FFFFFF
##6844E41.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#316F8F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6844e4;
/* rgb */ color: rgb(104, 68, 228);
/* oklch */ color: oklch(52.6% 0.227 285.9);
Tailwind
colors: {
  custom: {
    50: '#9f7bee',
    500: '#6844e4',
    950: '#000000',
  },
}
SCSS
$custom: #6844e4;
$custom-light: #9f7bee;
$custom-dark: #000000;
JSON
{
  "hex": "#6844e4",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 228
  },
  "hsl": {
    "h": 253.5,
    "s": 74.766,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.22708,
    "h": 285.9
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#6844E4
secondary
#D3E2A2
accent
#F136C7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6844E4

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

Preview Lab → · Contrast checker → · Palette generator →

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