#6843DC#6843DC

#6843DC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.219 H 287.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6843DC
RGBrgb(104, 67, 220)
HSLhsl(255, 69%, 56%)
HSVhsv(255, 70%, 86%)
CMYKcmyk(52.7%, 69.5%, 0%, 13.7%)
CIE-LABlab(41.41, 53.02, -72.76)
CIE-LCHlch(41.41, 90.03, 306.08°)
OKLaboklab(51.81% 0.0647 -0.2091)
OKLCHoklch(51.81% 0.219 287.2)
XYZxyz(20.6305, 12.1236, 68.9493)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843DC #B7DC43
analogous
#436BDC #6843DC #B543DC
triadic
#6843DC #DC6843 #43DC68
tetradic
#6843DC #DC436B #B7DC43 #43DCB5
square
#6843DC #DC436B #B7DC43 #43DCB5
split-complementary
#6843DC #DCB543 #6BDC43
monochromatic
#351A8B #4923BE #6843DC #9177E6 #BBAAEF

Accessibility & contrast

On white

6.13
#6843DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6843DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843DC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843DC#FFFFFF#000000##FFFFFF
##6843DC1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#396B8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6843dc;
/* rgb */ color: rgb(104, 67, 220);
/* oklch */ color: oklch(51.8% 0.219 287.2);
Tailwind
colors: {
  custom: {
    50: '#9e7ae8',
    500: '#6843dc',
    950: '#000000',
  },
}
SCSS
$custom: #6843dc;
$custom-light: #9e7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#6843dc",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 254.51,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.21889,
    "h": 287.2
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#6843DC
secondary
#CEDD9E
accent
#EB3CC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6843DC

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

Preview Lab → · Contrast checker → · Palette generator →

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