#6839E7#6839E7

#6839E7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.241 H 286.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6839E7
RGBrgb(104, 57, 231)
HSLhsl(256, 78%, 56%)
HSVhsv(256, 75%, 91%)
CMYKcmyk(55%, 75.3%, 0%, 9.4%)
CIE-LABlab(40.63, 60.97, -80.30)
CIE-LCHlch(40.63, 100.83, 307.21°)
OKLaboklab(51.56% 0.07 -0.2311)
OKLCHoklch(51.56% 0.241 286.8)
XYZxyz(21.5915, 11.6376, 76.6944)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6839E7 #B8E739
analogous
#3961E7 #6839E7 #BF39E7
triadic
#6839E7 #E76839 #39E768
tetradic
#6839E7 #E73961 #B8E739 #39E7BF
square
#6839E7 #E73961 #B8E739 #39E7BF
split-complementary
#6839E7 #E7BF39 #61E739
monochromatic
#351294 #4919CA #6839E7 #9270EE #BBA6F4

Accessibility & contrast

On white

6.31
#6839E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6839E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6839E7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6839E7#FFFFFF#000000##FFFFFF
##6839E71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064EC
Deuteranopia (green-blind)
#005BE4
Tritanopia (blue-blind)
#2E6A8E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6839e7;
/* rgb */ color: rgb(104, 57, 231);
/* oklch */ color: oklch(51.6% 0.241 286.8);
Tailwind
colors: {
  custom: {
    50: '#a075f0',
    500: '#6839e7',
    950: '#000000',
  },
}
SCSS
$custom: #6839e7;
$custom-light: #a075f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6839e7",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 231
  },
  "hsl": {
    "h": 256.207,
    "s": 78.378,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51556,
    "c": 0.24149,
    "h": 286.8
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#6839E7
secondary
#CEE29A
accent
#F533C0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6839E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6839E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva