#6843D8#6843D8

#6843D8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.214 H 287.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6843D8
RGBrgb(104, 67, 216)
HSLhsl(255, 66%, 55%)
HSVhsv(255, 69%, 85%)
CMYKcmyk(51.9%, 69%, 0%, 15.3%)
CIE-LABlab(41.08, 51.89, -71.01)
CIE-LCHlch(41.08, 87.95, 306.16°)
OKLaboklab(51.47% 0.0654 -0.204)
OKLCHoklch(51.47% 0.214 287.8)
XYZxyz(20.1071, 11.9143, 66.1926)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843D8 #B3D843
analogous
#4369D8 #6843D8 #B243D8
triadic
#6843D8 #D86843 #43D868
tetradic
#6843D8 #D84369 #B3D843 #43D8B2
square
#6843D8 #D84369 #B3D843 #43D8B2
split-complementary
#6843D8 #D8B243 #69D843
monochromatic
#361C85 #4A26B8 #6843D8 #9176E3 #B9A8ED

Accessibility & contrast

On white

6.21
#6843D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6843D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843D8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843D8#FFFFFF#000000##FFFFFF
##6843D81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#3D6A88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6843d8;
/* rgb */ color: rgb(104, 67, 216);
/* oklch */ color: oklch(51.5% 0.214 287.8);
Tailwind
colors: {
  custom: {
    50: '#9d7ae5',
    500: '#6843d8',
    950: '#000000',
  },
}
SCSS
$custom: #6843d8;
$custom-light: #9d7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#6843d8",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 254.899,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.21422,
    "h": 287.8
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#6843D8
secondary
#CBDA9C
accent
#E93FBF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6843D8

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

Preview Lab → · Contrast checker → · Palette generator →

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