#6843D6#6843D6

#6843D6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.212 H 288.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6843D6
RGBrgb(104, 67, 214)
HSLhsl(255, 64%, 55%)
HSVhsv(255, 69%, 84%)
CMYKcmyk(51.4%, 68.7%, 0%, 16.1%)
CIE-LABlab(40.91, 51.33, -70.13)
CIE-LCHlch(40.91, 86.91, 306.20°)
OKLaboklab(51.3% 0.0658 -0.2014)
OKLCHoklch(51.3% 0.212 288.1)
XYZxyz(19.8501, 11.8115, 64.8392)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843D6 #B1D643
analogous
#4368D6 #6843D6 #B143D6
triadic
#6843D6 #D66843 #43D668
tetradic
#6843D6 #D64368 #B1D643 #43D6B1
square
#6843D6 #D64368 #B1D643 #43D6B1
split-complementary
#6843D6 #D6B143 #68D643
monochromatic
#361C82 #4B27B4 #6843D6 #9075E1 #B9A7EC

Accessibility & contrast

On white

6.25
#6843D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6843D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843D6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843D6#FFFFFF#000000##FFFFFF
##6843D61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#3F6987
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6843d6;
/* rgb */ color: rgb(104, 67, 214);
/* oklch */ color: oklch(51.3% 0.212 288.1);
Tailwind
colors: {
  custom: {
    50: '#9d7ae4',
    500: '#6843d6',
    950: '#000000',
  },
}
SCSS
$custom: #6843d6;
$custom-light: #9d7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#6843d6",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 214
  },
  "hsl": {
    "h": 255.102,
    "s": 64.192,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.21187,
    "h": 288.1
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#6843D6
secondary
#CAD99C
accent
#E741BD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6843D6

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

Preview Lab → · Contrast checker → · Palette generator →

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