#6843BC#6843BC

#6843BC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.181 H 292.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6843BC
RGBrgb(104, 67, 188)
HSLhsl(258, 47%, 50%)
HSVhsv(258, 64%, 74%)
CMYKcmyk(44.7%, 64.4%, 0%, 26.3%)
CIE-LABlab(38.88, 44.01, -58.36)
CIE-LCHlch(38.88, 73.10, 307.02°)
OKLaboklab(49.2% 0.0694 -0.1668)
OKLCHoklch(49.2% 0.181 292.6)
XYZxyz(16.7907, 10.5877, 48.7262)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843BC #97BC43
analogous
#435BBC #6843BC #A443BC
triadic
#6843BC #BC6843 #43BC68
tetradic
#6843BC #BC435B #97BC43 #43BCA4
square
#6843BC #BC435B #97BC43 #43BCA4
split-complementary
#6843BC #BCA443 #5BBC43
monochromatic
#362362 #4F338F #6843BC #8C70CC #B09DDC

Accessibility & contrast

On white

6.74
#6843BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6843BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843BC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843BC#FFFFFF#000000##FFFFFF
##6843BC1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6843bc;
/* rgb */ color: rgb(104, 67, 188);
/* oklch */ color: oklch(49.2% 0.181 292.6);
Tailwind
colors: {
  custom: {
    50: '#9a79d1',
    500: '#6843bc',
    950: '#000000',
  },
}
SCSS
$custom: #6843bc;
$custom-light: #9a79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6843bc",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 258.347,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.18065,
    "h": 292.6
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6843BC

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

Preview Lab → · Contrast checker → · Palette generator →

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