#6849BB#6849BB

#6849BB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.171 H 291.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6849BB
RGBrgb(104, 73, 187)
HSLhsl(256, 46%, 51%)
HSVhsv(256, 61%, 73%)
CMYKcmyk(44.4%, 61%, 0%, 26.7%)
CIE-LABlab(40.07, 40.34, -55.84)
CIE-LCHlch(40.07, 68.88, 305.85°)
OKLaboklab(50.05% 0.0628 -0.1594)
OKLCHoklch(50.05% 0.171 291.5)
XYZxyz(17.0586, 11.2954, 48.2855)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849BB #9CBB49
analogous
#4963BB #6849BB #A149BB
triadic
#6849BB #BB6849 #49BB68
tetradic
#6849BB #BB4963 #9CBB49 #49BBA1
square
#6849BB #BB4963 #9CBB49 #49BBA1
split-complementary
#6849BB #BBA149 #63BB49
monochromatic
#362564 #4F3691 #6849BB #8D76CC #B2A2DC

Accessibility & contrast

On white

6.44
#6849BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6849BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849BB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849BB#FFFFFF#000000##FFFFFF
##6849BB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#50637B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6849bb;
/* rgb */ color: rgb(104, 73, 187);
/* oklch */ color: oklch(50.0% 0.171 291.5);
Tailwind
colors: {
  custom: {
    50: '#997dd0',
    500: '#6849bb',
    950: '#000000',
  },
}
SCSS
$custom: #6849bb;
$custom-light: #997dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6849bb",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 256.316,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.17131,
    "h": 291.5
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#6849BB
secondary
#BBC997
accent
#D553B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6849BB

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

Preview Lab → · Contrast checker → · Palette generator →

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