#6843E1#6843E1

#6843E1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.225 H 286.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6843E1
RGBrgb(104, 67, 225)
HSLhsl(254, 72%, 57%)
HSVhsv(254, 70%, 88%)
CMYKcmyk(53.8%, 70.2%, 0%, 11.8%)
CIE-LABlab(41.83, 54.44, -74.92)
CIE-LCHlch(41.83, 92.61, 306.00°)
OKLaboklab(52.24% 0.0638 -0.2154)
OKLCHoklch(52.24% 0.225 286.5)
XYZxyz(21.3026, 12.3925, 72.4891)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843E1 #BCE143
analogous
#436DE1 #6843E1 #B743E1
triadic
#6843E1 #E16843 #43E168
tetradic
#6843E1 #E1436D #BCE143 #43E1B7
square
#6843E1 #E1436D #BCE143 #43E1B7
split-complementary
#6843E1 #E1B743 #6DE143
monochromatic
#341792 #4720C7 #6843E1 #9278E9 #BDADF2

Accessibility & contrast

On white

6.04
#6843E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6843E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843E1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843E1#FFFFFF#000000##FFFFFF
##6843E11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#346D8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6843e1;
/* rgb */ color: rgb(104, 67, 225);
/* oklch */ color: oklch(52.2% 0.225 286.5);
Tailwind
colors: {
  custom: {
    50: '#9e7aec',
    500: '#6843e1',
    950: '#000000',
  },
}
SCSS
$custom: #6843e1;
$custom-light: #9e7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#6843e1",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 225
  },
  "hsl": {
    "h": 254.051,
    "s": 72.477,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.2247,
    "h": 286.5
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#6843E1
secondary
#D1E0A0
accent
#EF39C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6843E1

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

Preview Lab → · Contrast checker → · Palette generator →

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