#6846BB#6846BB

#6846BB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.175 H 292.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6846BB
RGBrgb(104, 70, 187)
HSLhsl(257, 46%, 50%)
HSVhsv(257, 63%, 73%)
CMYKcmyk(44.4%, 62.6%, 0%, 26.7%)
CIE-LABlab(39.43, 42.05, -56.88)
CIE-LCHlch(39.43, 70.74, 306.48°)
OKLaboklab(49.58% 0.0662 -0.1624)
OKLCHoklch(49.58% 0.175 292.2)
XYZxyz(16.8662, 10.9107, 48.2214)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846BB #99BB46
analogous
#465EBB #6846BB #A246BB
triadic
#6846BB #BB6846 #46BB68
tetradic
#6846BB #BB465E #99BB46 #46BBA2
square
#6846BB #BB465E #99BB46 #46BBA2
split-complementary
#6846BB #BBA246 #5EBB46
monochromatic
#362462 #4F358F #6846BB #8D73CB #B1A0DC

Accessibility & contrast

On white

6.60
#6846BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6846BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846BB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846BB#FFFFFF#000000##FFFFFF
##6846BB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#50617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6846bb;
/* rgb */ color: rgb(104, 70, 187);
/* oklch */ color: oklch(49.6% 0.175 292.2);
Tailwind
colors: {
  custom: {
    50: '#997bd0',
    500: '#6846bb',
    950: '#000000',
  },
}
SCSS
$custom: #6846bb;
$custom-light: #997bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6846bb",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 257.436,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.17541,
    "h": 292.2
  },
  "luminance": 0.10911
}

Semantic roles & 50–950 ramp

primary
#6846BB
secondary
#B9C894
accent
#D652B0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6846BB

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

Preview Lab → · Contrast checker → · Palette generator →

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