#6849C8#6849C8

#6849C8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.188 H 289.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6849C8
RGBrgb(104, 73, 200)
HSLhsl(255, 54%, 54%)
HSVhsv(255, 64%, 78%)
CMYKcmyk(48%, 63.5%, 0%, 21.6%)
CIE-LABlab(41.02, 44.06, -61.88)
CIE-LCHlch(41.02, 75.96, 305.45°)
OKLaboklab(51.04% 0.0619 -0.1772)
OKLCHoklch(51.04% 0.188 289.2)
XYZxyz(18.5138, 11.8775, 55.9495)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849C8 #A9C849
analogous
#4969C8 #6849C8 #A749C8
triadic
#6849C8 #C86849 #49C868
tetradic
#6849C8 #C84969 #A9C849 #49C8A7
square
#6849C8 #C84969 #A9C849 #49C8A7
split-complementary
#6849C8 #C8A749 #69C849
monochromatic
#372374 #4D31A3 #6849C8 #8F78D6 #B6A7E4

Accessibility & contrast

On white

6.22
#6849C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6849C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849C8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849C8#FFFFFF#000000##FFFFFF
##6849C81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#486782
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6849c8;
/* rgb */ color: rgb(104, 73, 200);
/* oklch */ color: oklch(51.0% 0.188 289.2);
Tailwind
colors: {
  custom: {
    50: '#9b7dda',
    500: '#6849c8',
    950: '#000000',
  },
}
SCSS
$custom: #6849c8;
$custom-light: #9b7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6849c8",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 254.646,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.18765,
    "h": 289.2
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#6849C8
secondary
#C4D29B
accent
#DD4BB9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6849C8

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

Preview Lab → · Contrast checker → · Palette generator →

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