#6843BE#6843BE

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

Color values

HEX#6843BE
RGBrgb(104, 67, 190)
HSLhsl(258, 49%, 50%)
HSVhsv(258, 65%, 75%)
CMYKcmyk(45.3%, 64.7%, 0%, 25.5%)
CIE-LABlab(39.03, 44.57, -59.29)
CIE-LCHlch(39.03, 74.18, 306.93°)
OKLaboklab(49.36% 0.0692 -0.1695)
OKLCHoklch(49.36% 0.183 292.2)
XYZxyz(17.0078, 10.6745, 49.8695)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843BE #99BE43
analogous
#435BBE #6843BE #A643BE
triadic
#6843BE #BE6843 #43BE68
tetradic
#6843BE #BE435B #99BE43 #43BEA6
square
#6843BE #BE435B #99BE43 #43BEA6
split-complementary
#6843BE #BEA643 #5BBE43
monochromatic
#362364 #4F3291 #6843BE #8D70CE #B19EDD

Accessibility & contrast

On white

6.70
#6843BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6843BE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843BE#FFFFFF#000000##FFFFFF
##6843BE1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6843be;
/* rgb */ color: rgb(104, 67, 190);
/* oklch */ color: oklch(49.4% 0.183 292.2);
Tailwind
colors: {
  custom: {
    50: '#9a79d2',
    500: '#6843be',
    950: '#000000',
  },
}
SCSS
$custom: #6843be;
$custom-light: #9a79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6843be",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 258.049,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.1831,
    "h": 292.2
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6843BE

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

Preview Lab → · Contrast checker → · Palette generator →

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