#6849BF#6849BF

#6849BF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.176 H 290.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6849BF
RGBrgb(104, 73, 191)
HSLhsl(256, 48%, 52%)
HSVhsv(256, 62%, 75%)
CMYKcmyk(45.5%, 61.8%, 0%, 25.1%)
CIE-LABlab(40.36, 41.48, -57.71)
CIE-LCHlch(40.36, 71.07, 305.70°)
OKLaboklab(50.35% 0.0626 -0.1649)
OKLCHoklch(50.35% 0.176 290.8)
XYZxyz(17.4928, 11.4691, 50.5722)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849BF #A0BF49
analogous
#4965BF #6849BF #A349BF
triadic
#6849BF #BF6849 #49BF68
tetradic
#6849BF #BF4965 #A0BF49 #49BFA3
square
#6849BF #BF4965 #A0BF49 #49BFA3
split-complementary
#6849BF #BFA349 #65BF49
monochromatic
#372569 #4E3596 #6849BF #8E76CF #B3A4DF

Accessibility & contrast

On white

6.38
#6849BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6849BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849BF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849BF#FFFFFF#000000##FFFFFF
##6849BF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#4E647D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6849bf;
/* rgb */ color: rgb(104, 73, 191);
/* oklch */ color: oklch(50.3% 0.176 290.8);
Tailwind
colors: {
  custom: {
    50: '#9a7dd3',
    500: '#6849bf',
    950: '#000000',
  },
}
SCSS
$custom: #6849bf;
$custom-light: #9a7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6849bf",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 255.763,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50348,
    "c": 0.17637,
    "h": 290.8
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#6849BF
secondary
#BECC98
accent
#D850B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6849BF

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

Preview Lab → · Contrast checker → · Palette generator →

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