#6843CE#6843CE

#6843CE is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.6% C 0.202 H 289.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6843CE
RGBrgb(104, 67, 206)
HSLhsl(256, 59%, 54%)
HSVhsv(256, 67%, 81%)
CMYKcmyk(49.5%, 67.5%, 0%, 19.2%)
CIE-LABlab(40.27, 49.07, -66.58)
CIE-LCHlch(40.27, 82.71, 306.39°)
OKLaboklab(50.64% 0.0671 -0.191)
OKLCHoklch(50.64% 0.202 289.4)
XYZxyz(18.8534, 11.4128, 59.5900)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843CE #A9CE43
analogous
#4363CE #6843CE #AD43CE
triadic
#6843CE #CE6843 #43CE68
tetradic
#6843CE #CE4363 #A9CE43 #43CEAD
square
#6843CE #CE4363 #A9CE43 #43CEAD
split-complementary
#6843CE #CEAD43 #63CE43
monochromatic
#371F77 #4D2CA8 #6843CE #8F74DB #B6A4E7

Accessibility & contrast

On white

6.40
#6843CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6843CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843CE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843CE#FFFFFF#000000##FFFFFF
##6843CE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#456683
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6843ce;
/* rgb */ color: rgb(104, 67, 206);
/* oklch */ color: oklch(50.6% 0.202 289.4);
Tailwind
colors: {
  custom: {
    50: '#9c7ade',
    500: '#6843ce',
    950: '#000000',
  },
}
SCSS
$custom: #6843ce;
$custom-light: #9c7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#6843ce",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 255.971,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.20241,
    "h": 289.4
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#6843CE
secondary
#C4D499
accent
#E246B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6843CE

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

Preview Lab → · Contrast checker → · Palette generator →

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