#6843BB#6843BB

#6843BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.179 H 292.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6843BB
RGBrgb(104, 67, 187)
HSLhsl(259, 47%, 50%)
HSVhsv(259, 64%, 73%)
CMYKcmyk(44.4%, 64.2%, 0%, 26.7%)
CIE-LABlab(38.80, 43.73, -57.90)
CIE-LCHlch(38.80, 72.56, 307.07°)
OKLaboklab(49.13% 0.0695 -0.1654)
OKLCHoklch(49.13% 0.179 292.8)
XYZxyz(16.6833, 10.5447, 48.1604)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843BB #96BB43
analogous
#435ABB #6843BB #A443BB
triadic
#6843BB #BB6843 #43BB68
tetradic
#6843BB #BB435A #96BB43 #43BBA4
square
#6843BB #BB435A #96BB43 #43BBA4
split-complementary
#6843BB #BBA443 #5ABB43
monochromatic
#362361 #4F338E #6843BB #8C70CC #B09DDC

Accessibility & contrast

On white

6.75
#6843BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6843BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843BB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843BB#FFFFFF#000000##FFFFFF
##6843BB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#505F79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6843bb;
/* rgb */ color: rgb(104, 67, 187);
/* oklch */ color: oklch(49.1% 0.179 292.8);
Tailwind
colors: {
  custom: {
    50: '#9979d0',
    500: '#6843bb',
    950: '#000000',
  },
}
SCSS
$custom: #6843bb;
$custom-light: #9979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6843bb",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 258.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49125,
    "c": 0.17943,
    "h": 292.8
  },
  "luminance": 0.10545
}

Semantic roles & 50–950 ramp

primary
#6843BB
secondary
#B7C892
accent
#D751AE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6843BB

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

Preview Lab → · Contrast checker → · Palette generator →

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