#6849D3#6849D3

#6849D3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 51.9% C 0.201 H 287.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6849D3
RGBrgb(104, 73, 211)
HSLhsl(253, 61%, 56%)
HSVhsv(253, 65%, 83%)
CMYKcmyk(50.7%, 65.4%, 0%, 17.3%)
CIE-LABlab(41.86, 47.23, -66.87)
CIE-LCHlch(41.86, 81.86, 305.23°)
OKLaboklab(51.91% 0.0607 -0.1918)
OKLCHoklch(51.91% 0.201 287.6)
XYZxyz(19.8459, 12.4104, 62.9651)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849D3 #B4D349
analogous
#496FD3 #6849D3 #AD49D3
triadic
#6849D3 #D36849 #49D368
tetradic
#6849D3 #D3496F #B4D349 #49D3AD
square
#6849D3 #D3496F #B4D349 #49D3AD
split-complementary
#6849D3 #D3AD49 #6FD349
monochromatic
#361F82 #4A2BB3 #6849D3 #917ADF #BAACEB

Accessibility & contrast

On white

6.03
#6849D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6849D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849D3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849D3#FFFFFF#000000##FFFFFF
##6849D31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#416B88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6849d3;
/* rgb */ color: rgb(104, 73, 211);
/* oklch */ color: oklch(51.9% 0.201 287.6);
Tailwind
colors: {
  custom: {
    50: '#9c7ee1',
    500: '#6849d3',
    950: '#000000',
  },
}
SCSS
$custom: #6849d3;
$custom-light: #9c7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#6849d3",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 253.478,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.20118,
    "h": 287.6
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#6849D3
secondary
#CCD99F
accent
#E444C0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6849D3

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

Preview Lab → · Contrast checker → · Palette generator →

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