#6843CF#6843CF

#6843CF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.7% C 0.204 H 289.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6843CF
RGBrgb(104, 67, 207)
HSLhsl(256, 59%, 54%)
HSVhsv(256, 68%, 81%)
CMYKcmyk(49.8%, 67.6%, 0%, 18.8%)
CIE-LABlab(40.35, 49.35, -67.03)
CIE-LCHlch(40.35, 83.24, 306.36°)
OKLaboklab(50.72% 0.0669 -0.1923)
OKLCHoklch(50.72% 0.204 289.2)
XYZxyz(18.9753, 11.4615, 60.2319)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843CF #AACF43
analogous
#4364CF #6843CF #AE43CF
triadic
#6843CF #CF6843 #43CF68
tetradic
#6843CF #CF4364 #AACF43 #43CFAE
square
#6843CF #CF4364 #AACF43 #43CFAE
split-complementary
#6843CF #CFAE43 #64CF43
monochromatic
#371F79 #4D2BAA #6843CF #8F74DB #B6A5E8

Accessibility & contrast

On white

6.38
#6843CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6843CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843CF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843CF#FFFFFF#000000##FFFFFF
##6843CF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#446684
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6843cf;
/* rgb */ color: rgb(104, 67, 207);
/* oklch */ color: oklch(50.7% 0.204 289.2);
Tailwind
colors: {
  custom: {
    50: '#9c7adf',
    500: '#6843cf',
    950: '#000000',
  },
}
SCSS
$custom: #6843cf;
$custom-light: #9c7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#6843cf",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 255.857,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.20359,
    "h": 289.2
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#6843CF
secondary
#C5D599
accent
#E345B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6843CF

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

Preview Lab → · Contrast checker → · Palette generator →

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