#6843E0#6843E0

#6843E0 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.224 H 286.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6843E0
RGBrgb(104, 67, 224)
HSLhsl(254, 72%, 57%)
HSVhsv(254, 70%, 88%)
CMYKcmyk(53.6%, 70.1%, 0%, 12.2%)
CIE-LABlab(41.75, 54.15, -74.49)
CIE-LCHlch(41.75, 92.10, 306.02°)
OKLaboklab(52.15% 0.064 -0.2142)
OKLCHoklch(52.15% 0.224 286.6)
XYZxyz(21.1666, 12.3381, 71.7727)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843E0 #BBE043
analogous
#436DE0 #6843E0 #B643E0
triadic
#6843E0 #E06843 #43E068
tetradic
#6843E0 #E0436D #BBE043 #43E0B6
square
#6843E0 #E0436D #BBE043 #43E0B6
split-complementary
#6843E0 #E0B643 #6DE043
monochromatic
#341891 #4721C5 #6843E0 #9278E9 #BCACF1

Accessibility & contrast

On white

6.06
#6843E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6843E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843E0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843E0#FFFFFF#000000##FFFFFF
##6843E01.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005EDD
Tritanopia (blue-blind)
#356C8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6843e0;
/* rgb */ color: rgb(104, 67, 224);
/* oklch */ color: oklch(52.2% 0.224 286.6);
Tailwind
colors: {
  custom: {
    50: '#9e7aeb',
    500: '#6843e0',
    950: '#000000',
  },
}
SCSS
$custom: #6843e0;
$custom-light: #9e7aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#6843e0",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 224
  },
  "hsl": {
    "h": 254.14,
    "s": 71.689,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.22353,
    "h": 286.6
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#6843E0
secondary
#D0DF9F
accent
#EE39C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6843E0

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

Preview Lab → · Contrast checker → · Palette generator →

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