#6843FF#6843FF

#6843FF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.259 H 282.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6843FF
RGBrgb(104, 67, 255)
HSLhsl(252, 100%, 63%)
HSVhsv(252, 74%, 100%)
CMYKcmyk(59.2%, 73.7%, 0%, 0%)
CIE-LABlab(44.48, 62.87, -87.47)
CIE-LCHlch(44.48, 107.72, 305.71°)
OKLaboklab(54.92% 0.0573 -0.2522)
OKLCHoklch(54.92% 0.259 282.8)
XYZxyz(25.7605, 14.1756, 95.9671)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843FF #DAFF43
analogous
#437CFF #6843FF #C643FF
triadic
#6843FF #FF6843 #43FF68
tetradic
#6843FF #FF437C #DAFF43 #43FFC6
square
#6843FF #FF437C #DAFF43 #43FFC6
split-complementary
#6843FF #FFC643 #7CFF43
monochromatic
#2700C8 #3706FF #6843FF #9980FF #CABDFF

Accessibility & contrast

On white

5.48
#6843FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6843FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843FF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843FF#FFFFFF#000000##FFFFFF
##6843FF1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0063FC
Tritanopia (blue-blind)
#00789E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6843ff;
/* rgb */ color: rgb(104, 67, 255);
/* oklch */ color: oklch(54.9% 0.259 282.8);
Tailwind
colors: {
  custom: {
    50: '#a37bff',
    500: '#6843ff',
    950: '#000000',
  },
}
SCSS
$custom: #6843ff;
$custom-light: #a37bff;
$custom-dark: #000000;
JSON
{
  "hex": "#6843ff",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 255
  },
  "hsl": {
    "h": 251.809,
    "s": 100,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54923,
    "c": 0.25862,
    "h": 282.8
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#6843FF
secondary
#E3F1AD
accent
#E600B8
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #6843FF

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

Preview Lab → · Contrast checker → · Palette generator →

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