#6846BC#6846BC

#6846BC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.177 H 292.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6846BC
RGBrgb(104, 70, 188)
HSLhsl(257, 47%, 51%)
HSVhsv(257, 63%, 74%)
CMYKcmyk(44.7%, 62.8%, 0%, 26.3%)
CIE-LABlab(39.50, 42.33, -57.35)
CIE-LCHlch(39.50, 71.28, 306.43°)
OKLaboklab(49.66% 0.0661 -0.1638)
OKLCHoklch(49.66% 0.177 292)
XYZxyz(16.9737, 10.9537, 48.7872)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846BC #9ABC46
analogous
#465FBC #6846BC #A346BC
triadic
#6846BC #BC6846 #46BC68
tetradic
#6846BC #BC465F #9ABC46 #46BCA3
square
#6846BC #BC465F #9ABC46 #46BCA3
split-complementary
#6846BC #BCA346 #5FBC46
monochromatic
#362464 #4F3490 #6846BC #8D73CC #B1A0DD

Accessibility & contrast

On white

6.58
#6846BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6846BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846BC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846BC#FFFFFF#000000##FFFFFF
##6846BC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#4F617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6846bc;
/* rgb */ color: rgb(104, 70, 188);
/* oklch */ color: oklch(49.7% 0.177 292.0);
Tailwind
colors: {
  custom: {
    50: '#997bd1',
    500: '#6846bc',
    950: '#000000',
  },
}
SCSS
$custom: #6846bc;
$custom-light: #997bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6846bc",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 257.288,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.17666,
    "h": 292
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#6846BC
secondary
#BAC995
accent
#D651B0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6846BC

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

Preview Lab → · Contrast checker → · Palette generator →

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