#6843BF#6843BF

#6843BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.184 H 292.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6843BF
RGBrgb(104, 67, 191)
HSLhsl(258, 49%, 51%)
HSVhsv(258, 65%, 75%)
CMYKcmyk(45.5%, 64.9%, 0%, 25.1%)
CIE-LABlab(39.10, 44.85, -59.76)
CIE-LCHlch(39.10, 74.71, 306.89°)
OKLaboklab(49.44% 0.069 -0.1709)
OKLCHoklch(49.44% 0.184 292)
XYZxyz(17.1174, 10.7184, 50.4471)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843BF #9ABF43
analogous
#435CBF #6843BF #A643BF
triadic
#6843BF #BF6843 #43BF68
tetradic
#6843BF #BF435C #9ABF43 #43BFA6
square
#6843BF #BF435C #9ABF43 #43BFA6
split-complementary
#6843BF #BFA643 #5CBF43
monochromatic
#362265 #4F3293 #6843BF #8D71CF #B19EDE

Accessibility & contrast

On white

6.68
#6843BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6843BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843BF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843BF#FFFFFF#000000##FFFFFF
##6843BF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#4E617B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6843bf;
/* rgb */ color: rgb(104, 67, 191);
/* oklch */ color: oklch(49.4% 0.184 292.0);
Tailwind
colors: {
  custom: {
    50: '#9a79d3',
    500: '#6843bf',
    950: '#000000',
  },
}
SCSS
$custom: #6843bf;
$custom-light: #9a79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6843bf",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 257.903,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.18432,
    "h": 292
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#6843BF
secondary
#BACA93
accent
#D94FB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6843BF

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

Preview Lab → · Contrast checker → · Palette generator →

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