#6843BD#6843BD

#6843BD is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.182 H 292.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6843BD
RGBrgb(104, 67, 189)
HSLhsl(258, 48%, 50%)
HSVhsv(258, 65%, 74%)
CMYKcmyk(45%, 64.6%, 0%, 25.9%)
CIE-LABlab(38.95, 44.29, -58.83)
CIE-LCHlch(38.95, 73.64, 306.98°)
OKLaboklab(49.28% 0.0693 -0.1682)
OKLCHoklch(49.28% 0.182 292.4)
XYZxyz(16.8988, 10.6310, 49.2958)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843BD #98BD43
analogous
#435BBD #6843BD #A543BD
triadic
#6843BD #BD6843 #43BD68
tetradic
#6843BD #BD435B #98BD43 #43BDA5
square
#6843BD #BD435B #98BD43 #43BDA5
split-complementary
#6843BD #BDA543 #5BBD43
monochromatic
#362363 #4F3390 #6843BD #8C70CD #B19EDD

Accessibility & contrast

On white

6.72
#6843BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6843BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843BD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843BD#FFFFFF#000000##FFFFFF
##6843BD1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#4F607A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6843bd;
/* rgb */ color: rgb(104, 67, 189);
/* oklch */ color: oklch(49.3% 0.182 292.4);
Tailwind
colors: {
  custom: {
    50: '#9a79d2',
    500: '#6843bd',
    950: '#000000',
  },
}
SCSS
$custom: #6843bd;
$custom-light: #9a79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6843bd",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 258.197,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.18188,
    "h": 292.4
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#6843BD
secondary
#B9C993
accent
#D850AF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6843BD

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

Preview Lab → · Contrast checker → · Palette generator →

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