#6846BE#6846BE

#6846BE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.179 H 291.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6846BE
RGBrgb(104, 70, 190)
HSLhsl(257, 48%, 51%)
HSVhsv(257, 63%, 75%)
CMYKcmyk(45.3%, 63.2%, 0%, 25.5%)
CIE-LABlab(39.65, 42.90, -58.28)
CIE-LCHlch(39.65, 72.37, 306.35°)
OKLaboklab(49.81% 0.0659 -0.1666)
OKLCHoklch(49.81% 0.179 291.6)
XYZxyz(17.1908, 11.0405, 49.9305)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846BE #9CBE46
analogous
#4660BE #6846BE #A446BE
triadic
#6846BE #BE6846 #46BE68
tetradic
#6846BE #BE4660 #9CBE46 #46BEA4
square
#6846BE #BE4660 #9CBE46 #46BEA4
split-complementary
#6846BE #BEA446 #60BE46
monochromatic
#362466 #4F3493 #6846BE #8D73CE #B2A1DE

Accessibility & contrast

On white

6.55
#6846BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6846BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846BE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846BE#FFFFFF#000000##FFFFFF
##6846BE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#4E627B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6846be;
/* rgb */ color: rgb(104, 70, 190);
/* oklch */ color: oklch(49.8% 0.179 291.6);
Tailwind
colors: {
  custom: {
    50: '#9a7bd2',
    500: '#6846be',
    950: '#000000',
  },
}
SCSS
$custom: #6846be;
$custom-light: #9a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6846be",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 257,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.17915,
    "h": 291.6
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#6846BE
secondary
#BBCA95
accent
#D850B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6846BE

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

Preview Lab → · Contrast checker → · Palette generator →

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