#6849CB#6849CB

#6849CB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.191 H 288.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6849CB
RGBrgb(104, 73, 203)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 64%, 80%)
CMYKcmyk(48.8%, 64%, 0%, 20.4%)
CIE-LABlab(41.25, 44.92, -63.25)
CIE-LCHlch(41.25, 77.58, 305.38°)
OKLaboklab(51.27% 0.0616 -0.1812)
OKLCHoklch(51.27% 0.191 288.8)
XYZxyz(18.8678, 12.0191, 57.8141)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849CB #ACCB49
analogous
#496BCB #6849CB #A949CB
triadic
#6849CB #CB6849 #49CB68
tetradic
#6849CB #CB496B #ACCB49 #49CBA9
square
#6849CB #CB496B #ACCB49 #49CBA9
split-complementary
#6849CB #CBA949 #6BCB49
monochromatic
#362277 #4C30A7 #6849CB #8F79D9 #B7A8E6

Accessibility & contrast

On white

6.17
#6849CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6849CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849CB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849CB#FFFFFF#000000##FFFFFF
##6849CB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#466883
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6849cb;
/* rgb */ color: rgb(104, 73, 203);
/* oklch */ color: oklch(51.3% 0.191 288.8);
Tailwind
colors: {
  custom: {
    50: '#9b7ddc',
    500: '#6849cb',
    950: '#000000',
  },
}
SCSS
$custom: #6849cb;
$custom-light: #9b7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6849cb",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 254.308,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.19137,
    "h": 288.8
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#6849CB
secondary
#C6D49C
accent
#DF49BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6849CB

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

Preview Lab → · Contrast checker → · Palette generator →

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