#6843DA#6843DA

#6843DA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.217 H 287.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6843DA
RGBrgb(104, 67, 218)
HSLhsl(255, 67%, 56%)
HSVhsv(255, 69%, 85%)
CMYKcmyk(52.3%, 69.3%, 0%, 14.5%)
CIE-LABlab(41.25, 52.46, -71.89)
CIE-LCHlch(41.25, 88.99, 306.12°)
OKLaboklab(51.64% 0.0651 -0.2065)
OKLCHoklch(51.64% 0.217 287.5)
XYZxyz(20.3672, 12.0183, 67.5626)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843DA #B5DA43
analogous
#4369DA #6843DA #B343DA
triadic
#6843DA #DA6843 #43DA68
tetradic
#6843DA #DA4369 #B5DA43 #43DAB3
square
#6843DA #DA4369 #B5DA43 #43DAB3
split-complementary
#6843DA #DAB343 #69DA43
monochromatic
#351B88 #4A25BB #6843DA #9176E4 #BAA9EE

Accessibility & contrast

On white

6.17
#6843DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6843DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843DA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843DA#FFFFFF#000000##FFFFFF
##6843DA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#3B6A8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6843da;
/* rgb */ color: rgb(104, 67, 218);
/* oklch */ color: oklch(51.6% 0.217 287.5);
Tailwind
colors: {
  custom: {
    50: '#9d7ae7',
    500: '#6843da',
    950: '#000000',
  },
}
SCSS
$custom: #6843da;
$custom-light: #9d7ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#6843da",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 218
  },
  "hsl": {
    "h": 254.702,
    "s": 67.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.21656,
    "h": 287.5
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#6843DA
secondary
#CCDC9D
accent
#EA3EC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6843DA

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

Preview Lab → · Contrast checker → · Palette generator →

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