#6843CC#6843CC

#6843CC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.200 H 289.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6843CC
RGBrgb(104, 67, 204)
HSLhsl(256, 57%, 53%)
HSVhsv(256, 67%, 80%)
CMYKcmyk(49%, 67.2%, 0%, 20%)
CIE-LABlab(40.11, 48.50, -65.68)
CIE-LCHlch(40.11, 81.65, 306.44°)
OKLaboklab(50.48% 0.0674 -0.1883)
OKLCHoklch(50.48% 0.2 289.7)
XYZxyz(18.6120, 11.3162, 58.3186)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843CC #A7CC43
analogous
#4363CC #6843CC #AC43CC
triadic
#6843CC #CC6843 #43CC68
tetradic
#6843CC #CC4363 #A7CC43 #43CCAC
square
#6843CC #CC4363 #A7CC43 #43CCAC
split-complementary
#6843CC #CCAC43 #63CC43
monochromatic
#372075 #4D2DA5 #6843CC #8F73D9 #B5A3E6

Accessibility & contrast

On white

6.44
#6843CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6843CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843CC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843CC#FFFFFF#000000##FFFFFF
##6843CC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#466582
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6843cc;
/* rgb */ color: rgb(104, 67, 204);
/* oklch */ color: oklch(50.5% 0.200 289.7);
Tailwind
colors: {
  custom: {
    50: '#9c7add',
    500: '#6843cc',
    950: '#000000',
  },
}
SCSS
$custom: #6843cc;
$custom-light: #9c7add;
$custom-dark: #000000;
JSON
{
  "hex": "#6843cc",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 256.204,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50475,
    "c": 0.20002,
    "h": 289.7
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#6843CC
secondary
#C3D398
accent
#E147B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6843CC

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

Preview Lab → · Contrast checker → · Palette generator →

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