#6849CC#6849CC

#6849CC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.193 H 288.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6849CC
RGBrgb(104, 73, 204)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 64%, 80%)
CMYKcmyk(49%, 64.2%, 0%, 20%)
CIE-LABlab(41.32, 45.21, -63.71)
CIE-LCHlch(41.32, 78.12, 305.36°)
OKLaboklab(51.35% 0.0615 -0.1825)
OKLCHoklch(51.35% 0.193 288.6)
XYZxyz(18.9874, 12.0670, 58.4437)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849CC #ADCC49
analogous
#496CCC #6849CC #A949CC
triadic
#6849CC #CC6849 #49CC68
tetradic
#6849CC #CC496C #ADCC49 #49CCA9
square
#6849CC #CC496C #ADCC49 #49CCA9
split-complementary
#6849CC #CCA949 #6CCC49
monochromatic
#362279 #4C2FA9 #6849CC #9079D9 #B7A9E7

Accessibility & contrast

On white

6.15
#6849CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6849CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849CC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849CC#FFFFFF#000000##FFFFFF
##6849CC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#466984
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6849cc;
/* rgb */ color: rgb(104, 73, 204);
/* oklch */ color: oklch(51.4% 0.193 288.6);
Tailwind
colors: {
  custom: {
    50: '#9b7ddc',
    500: '#6849cc',
    950: '#000000',
  },
}
SCSS
$custom: #6849cc;
$custom-light: #9b7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6849cc",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 254.198,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.19259,
    "h": 288.6
  },
  "luminance": 0.12068
}

Semantic roles & 50–950 ramp

primary
#6849CC
secondary
#C7D49D
accent
#E048BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6849CC

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

Preview Lab → · Contrast checker → · Palette generator →

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