#6843CB#6843CB

#6843CB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.199 H 289.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6843CB
RGBrgb(104, 67, 203)
HSLhsl(256, 57%, 53%)
HSVhsv(256, 67%, 80%)
CMYKcmyk(48.8%, 67%, 0%, 20.4%)
CIE-LABlab(40.03, 48.22, -65.23)
CIE-LCHlch(40.03, 81.12, 306.47°)
OKLaboklab(50.39% 0.0675 -0.187)
OKLCHoklch(50.39% 0.199 289.8)
XYZxyz(18.4925, 11.2684, 57.6890)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843CB #A6CB43
analogous
#4362CB #6843CB #AC43CB
triadic
#6843CB #CB6843 #43CB68
tetradic
#6843CB #CB4362 #A6CB43 #43CBAC
square
#6843CB #CB4362 #A6CB43 #43CBAC
split-complementary
#6843CB #CBAC43 #62CB43
monochromatic
#372074 #4D2DA4 #6843CB #8F73D8 #B5A3E6

Accessibility & contrast

On white

6.45
#6843CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6843CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843CB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843CB#FFFFFF#000000##FFFFFF
##6843CB1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#476581
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6843cb;
/* rgb */ color: rgb(104, 67, 203);
/* oklch */ color: oklch(50.4% 0.199 289.8);
Tailwind
colors: {
  custom: {
    50: '#9b7adc',
    500: '#6843cb',
    950: '#000000',
  },
}
SCSS
$custom: #6843cb;
$custom-light: #9b7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#6843cb",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 256.324,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.19882,
    "h": 289.8
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#6843CB
secondary
#C2D298
accent
#E048B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6843CB

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

Preview Lab → · Contrast checker → · Palette generator →

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