#6849CA#6849CA

#6849CA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.190 H 288.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6849CA
RGBrgb(104, 73, 202)
HSLhsl(254, 55%, 54%)
HSVhsv(254, 64%, 79%)
CMYKcmyk(48.5%, 63.9%, 0%, 20.8%)
CIE-LABlab(41.17, 44.63, -62.80)
CIE-LCHlch(41.17, 77.04, 305.40°)
OKLaboklab(51.19% 0.0617 -0.1798)
OKLCHoklch(51.19% 0.19 288.9)
XYZxyz(18.7491, 11.9716, 57.1885)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849CA #ABCA49
analogous
#496BCA #6849CA #A949CA
triadic
#6849CA #CA6849 #49CA68
tetradic
#6849CA #CA496B #ABCA49 #49CAA9
square
#6849CA #CA496B #ABCA49 #49CAA9
split-complementary
#6849CA #CAA949 #6BCA49
monochromatic
#372276 #4C30A6 #6849CA #8F78D8 #B7A8E6

Accessibility & contrast

On white

6.19
#6849CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6849CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849CA#FFFFFF#000000##FFFFFF
##6849CA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#476883
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6849ca;
/* rgb */ color: rgb(104, 73, 202);
/* oklch */ color: oklch(51.2% 0.190 288.9);
Tailwind
colors: {
  custom: {
    50: '#9b7ddb',
    500: '#6849ca',
    950: '#000000',
  },
}
SCSS
$custom: #6849ca;
$custom-light: #9b7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6849ca",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 254.419,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.19013,
    "h": 288.9
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#6849CA
secondary
#C6D39C
accent
#DE4ABB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6849CA

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

Preview Lab → · Contrast checker → · Palette generator →

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