#6849E4#6849E4

#6849E4 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.222 H 285.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6849E4
RGBrgb(104, 73, 228)
HSLhsl(252, 74%, 59%)
HSVhsv(252, 68%, 89%)
CMYKcmyk(54.4%, 68%, 0%, 10.6%)
CIE-LABlab(43.22, 52.14, -74.35)
CIE-LCHlch(43.22, 90.81, 305.04°)
OKLaboklab(53.31% 0.0583 -0.2138)
OKLCHoklch(53.31% 0.222 285.2)
XYZxyz(22.0908, 13.3083, 74.7885)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849E4 #C5E449
analogous
#4978E4 #6849E4 #B649E4
triadic
#6849E4 #E46849 #49E468
tetradic
#6849E4 #E44978 #C5E449 #49E4B6
square
#6849E4 #E44978 #C5E449 #49E4B6
split-complementary
#6849E4 #E4B649 #78E449
monochromatic
#32179C #431FD1 #6849E4 #947EEC #C0B4F4

Accessibility & contrast

On white

5.73
#6849E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6849E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849E4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849E4#FFFFFF#000000##FFFFFF
##6849E41.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#307191
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6849e4;
/* rgb */ color: rgb(104, 73, 228);
/* oklch */ color: oklch(53.3% 0.222 285.2);
Tailwind
colors: {
  custom: {
    50: '#9e7eee',
    500: '#6849e4',
    950: '#000000',
  },
}
SCSS
$custom: #6849e4;
$custom-light: #9e7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6849e4",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 252,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.22159,
    "h": 285.2
  },
  "luminance": 0.1331
}

Semantic roles & 50–950 ramp

primary
#6849E4
secondary
#D7E3A6
accent
#F137CC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6849E4

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

Preview Lab → · Contrast checker → · Palette generator →

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