#6843E2#6843E2

#6843E2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.226 H 286.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6843E2
RGBrgb(104, 67, 226)
HSLhsl(254, 73%, 57%)
HSVhsv(254, 70%, 89%)
CMYKcmyk(54%, 70.4%, 0%, 11.4%)
CIE-LABlab(41.92, 54.72, -75.35)
CIE-LCHlch(41.92, 93.12, 305.98°)
OKLaboklab(52.33% 0.0636 -0.2167)
OKLCHoklch(52.33% 0.226 286.4)
XYZxyz(21.4394, 12.4472, 73.2096)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843E2 #BDE243
analogous
#436EE2 #6843E2 #B743E2
triadic
#6843E2 #E26843 #43E268
tetradic
#6843E2 #E2436E #BDE243 #43E2B7
square
#6843E2 #E2436E #BDE243 #43E2B7
split-complementary
#6843E2 #E2B743 #6EE243
monochromatic
#341794 #471FC9 #6843E2 #9378EA #BDADF2

Accessibility & contrast

On white

6.02
#6843E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6843E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843E2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843E2#FFFFFF#000000##FFFFFF
##6843E21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#336D8E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6843e2;
/* rgb */ color: rgb(104, 67, 226);
/* oklch */ color: oklch(52.3% 0.226 286.4);
Tailwind
colors: {
  custom: {
    50: '#9f7aec',
    500: '#6843e2',
    950: '#000000',
  },
}
SCSS
$custom: #6843e2;
$custom-light: #9f7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#6843e2",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 253.962,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.22585,
    "h": 286.4
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#6843E2
secondary
#D2E1A0
accent
#F038C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6843E2

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

Preview Lab → · Contrast checker → · Palette generator →

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