#6849CD#6849CD

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

Color values

HEX#6849CD
RGBrgb(104, 73, 205)
HSLhsl(254, 57%, 55%)
HSVhsv(254, 64%, 80%)
CMYKcmyk(49.3%, 64.4%, 0%, 19.6%)
CIE-LABlab(41.40, 45.50, -64.16)
CIE-LCHlch(41.40, 78.66, 305.34°)
OKLaboklab(51.43% 0.0614 -0.1839)
OKLCHoklch(51.43% 0.194 288.5)
XYZxyz(19.1077, 12.1151, 59.0774)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849CD #AECD49
analogous
#496CCD #6849CD #AA49CD
triadic
#6849CD #CD6849 #49CD68
tetradic
#6849CD #CD496C #AECD49 #49CDAA
square
#6849CD #CD496C #AECD49 #49CDAA
split-complementary
#6849CD #CDAA49 #6CCD49
monochromatic
#36227A #4C2FAA #6849CD #9079DA #B8A9E7

Accessibility & contrast

On white

6.13
#6849CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6849CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849CD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849CD#FFFFFF#000000##FFFFFF
##6849CD1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#456984
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6849cd;
/* rgb */ color: rgb(104, 73, 205);
/* oklch */ color: oklch(51.4% 0.194 288.5);
Tailwind
colors: {
  custom: {
    50: '#9b7ddd',
    500: '#6849cd',
    950: '#000000',
  },
}
SCSS
$custom: #6849cd;
$custom-light: #9b7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6849cd",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 254.091,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.19383,
    "h": 288.5
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6849CD

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

Preview Lab → · Contrast checker → · Palette generator →

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