#6843F4#6843F4

#6843F4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.246 H 284.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6843F4
RGBrgb(104, 67, 244)
HSLhsl(253, 89%, 61%)
HSVhsv(253, 73%, 96%)
CMYKcmyk(57.4%, 72.5%, 0%, 4.3%)
CIE-LABlab(43.49, 59.79, -82.95)
CIE-LCHlch(43.49, 102.26, 305.78°)
OKLaboklab(53.92% 0.0598 -0.239)
OKLCHoklch(53.92% 0.246 284.1)
XYZxyz(24.0402, 13.4875, 86.9070)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843F4 #CFF443
analogous
#4376F4 #6843F4 #C043F4
triadic
#6843F4 #F46843 #43F468
tetradic
#6843F4 #F44376 #CFF443 #43F4C0
square
#6843F4 #F44376 #CFF443 #43F4C0
split-complementary
#6843F4 #F4C043 #76F443
monochromatic
#2D0AB2 #3C0EEC #6843F4 #967DF7 #C5B7FB

Accessibility & contrast

On white

5.68
#6843F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6843F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843F4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843F4#FFFFFF#000000##FFFFFF
##6843F41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF9
Deuteranopia (green-blind)
#0061F1
Tritanopia (blue-blind)
#167498
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6843f4;
/* rgb */ color: rgb(104, 67, 244);
/* oklch */ color: oklch(53.9% 0.246 284.1);
Tailwind
colors: {
  custom: {
    50: '#a17bf9',
    500: '#6843f4',
    950: '#000000',
  },
}
SCSS
$custom: #6843f4;
$custom-light: #a17bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6843f4",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 244
  },
  "hsl": {
    "h": 252.542,
    "s": 88.945,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5392,
    "c": 0.24635,
    "h": 284.1
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#6843F4
secondary
#DDEBA8
accent
#E600B6
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6843F4

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

Preview Lab → · Contrast checker → · Palette generator →

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