#6844E2#6844E2

#6844E2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.225 H 286.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6844E2
RGBrgb(104, 68, 226)
HSLhsl(254, 73%, 58%)
HSVhsv(254, 70%, 89%)
CMYKcmyk(54%, 69.9%, 0%, 11.4%)
CIE-LABlab(42.10, 54.20, -75.05)
CIE-LCHlch(42.10, 92.58, 305.84°)
OKLaboklab(52.46% 0.0628 -0.2158)
OKLCHoklch(52.46% 0.225 286.2)
XYZxyz(21.4994, 12.5671, 73.2296)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6844E2 #BEE244
analogous
#446FE2 #6844E2 #B744E2
triadic
#6844E2 #E26844 #44E268
tetradic
#6844E2 #E2446F #BEE244 #44E2B7
square
#6844E2 #E2446F #BEE244 #44E2B7
split-complementary
#6844E2 #E2B744 #6FE244
monochromatic
#341795 #461FCA #6844E2 #9379EA #BEAEF2

Accessibility & contrast

On white

5.98
#6844E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6844E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6844E2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6844E2#FFFFFF#000000##FFFFFF
##6844E21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#336E8E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6844e2;
/* rgb */ color: rgb(104, 68, 226);
/* oklch */ color: oklch(52.5% 0.225 286.2);
Tailwind
colors: {
  custom: {
    50: '#9e7bec',
    500: '#6844e2',
    950: '#000000',
  },
}
SCSS
$custom: #6844e2;
$custom-light: #9e7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#6844e2",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 226
  },
  "hsl": {
    "h": 253.671,
    "s": 73.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.22477,
    "h": 286.2
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#6844E2
secondary
#D2E1A1
accent
#F038C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6844E2

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

Preview Lab → · Contrast checker → · Palette generator →

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