#6843CD#6843CD

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

Color values

HEX#6843CD
RGBrgb(104, 67, 205)
HSLhsl(256, 58%, 53%)
HSVhsv(256, 67%, 80%)
CMYKcmyk(49.3%, 67.3%, 0%, 19.6%)
CIE-LABlab(40.19, 48.79, -66.13)
CIE-LCHlch(40.19, 82.18, 306.42°)
OKLaboklab(50.56% 0.0672 -0.1897)
OKLCHoklch(50.56% 0.201 289.5)
XYZxyz(18.7324, 11.3644, 58.9523)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843CD #A8CD43
analogous
#4363CD #6843CD #AD43CD
triadic
#6843CD #CD6843 #43CD68
tetradic
#6843CD #CD4363 #A8CD43 #43CDAD
square
#6843CD #CD4363 #A8CD43 #43CDAD
split-complementary
#6843CD #CDAD43 #63CD43
monochromatic
#371F76 #4D2CA7 #6843CD #8F73DA #B6A4E7

Accessibility & contrast

On white

6.42
#6843CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6843CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843CD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843CD#FFFFFF#000000##FFFFFF
##6843CD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#456682
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6843cd;
/* rgb */ color: rgb(104, 67, 205);
/* oklch */ color: oklch(50.6% 0.201 289.5);
Tailwind
colors: {
  custom: {
    50: '#9c7add',
    500: '#6843cd',
    950: '#000000',
  },
}
SCSS
$custom: #6843cd;
$custom-light: #9c7add;
$custom-dark: #000000;
JSON
{
  "hex": "#6843cd",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 256.087,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.20121,
    "h": 289.5
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#6843CD
secondary
#C4D498
accent
#E147B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6843CD

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

Preview Lab → · Contrast checker → · Palette generator →

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