#6839DA#6839DA

#6839DA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.227 H 288.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6839DA
RGBrgb(104, 57, 218)
HSLhsl(258, 69%, 54%)
HSVhsv(258, 74%, 85%)
CMYKcmyk(52.3%, 73.9%, 0%, 14.5%)
CIE-LABlab(39.46, 57.45, -74.81)
CIE-LCHlch(39.46, 94.32, 307.52°)
OKLaboklab(50.38% 0.0733 -0.2151)
OKLCHoklch(50.38% 0.227 288.8)
XYZxyz(19.8232, 10.9303, 67.3813)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6839DA #ABDA39
analogous
#395BDA #6839DA #B939DA
triadic
#6839DA #DA6839 #39DA68
tetradic
#6839DA #DA395B #ABDA39 #39DAB9
square
#6839DA #DA395B #ABDA39 #39DAB9
split-complementary
#6839DA #DAB939 #5BDA39
monochromatic
#371881 #4C22B4 #6839DA #8F6DE4 #B7A0ED

Accessibility & contrast

On white

6.59
#6839DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6839DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6839DA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6839DA#FFFFFF#000000##FFFFFF
##6839DA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0059D7
Tritanopia (blue-blind)
#3C6587
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6839da;
/* rgb */ color: rgb(104, 57, 218);
/* oklch */ color: oklch(50.4% 0.227 288.8);
Tailwind
colors: {
  custom: {
    50: '#9e74e7',
    500: '#6839da',
    950: '#000000',
  },
}
SCSS
$custom: #6839da;
$custom-light: #9e74e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6839da",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 257.516,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.22719,
    "h": 288.8
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#6839DA
secondary
#C6DA95
accent
#EB3CB8
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6839DA

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

Preview Lab → · Contrast checker → · Palette generator →

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