#6849CE#6849CE

#6849CE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.195 H 288.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6849CE
RGBrgb(104, 73, 206)
HSLhsl(254, 58%, 55%)
HSVhsv(254, 65%, 81%)
CMYKcmyk(49.5%, 64.6%, 0%, 19.2%)
CIE-LABlab(41.47, 45.79, -64.61)
CIE-LCHlch(41.47, 79.19, 305.32°)
OKLaboklab(51.51% 0.0613 -0.1852)
OKLCHoklch(51.51% 0.195 288.3)
XYZxyz(19.2288, 12.1635, 59.7152)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849CE #AFCE49
analogous
#496DCE #6849CE #AB49CE
triadic
#6849CE #CE6849 #49CE68
tetradic
#6849CE #CE496D #AFCE49 #49CEAB
square
#6849CE #CE496D #AFCE49 #49CEAB
split-complementary
#6849CE #CEAB49 #6DCE49
monochromatic
#36217B #4B2EAC #6849CE #9079DB #B8A9E8

Accessibility & contrast

On white

6.12
#6849CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6849CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849CE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849CE#FFFFFF#000000##FFFFFF
##6849CE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#446985
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6849ce;
/* rgb */ color: rgb(104, 73, 206);
/* oklch */ color: oklch(51.5% 0.195 288.3);
Tailwind
colors: {
  custom: {
    50: '#9b7dde',
    500: '#6849ce',
    950: '#000000',
  },
}
SCSS
$custom: #6849ce;
$custom-light: #9b7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#6849ce",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 253.985,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.19506,
    "h": 288.3
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#6849CE
secondary
#C8D59D
accent
#E147BD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6849CE

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

Preview Lab → · Contrast checker → · Palette generator →

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