#6839BB#6839BB

#6839BB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.192 H 294.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6839BB
RGBrgb(104, 57, 187)
HSLhsl(262, 53%, 48%)
HSVhsv(262, 70%, 73%)
CMYKcmyk(44.4%, 69.5%, 0%, 26.7%)
CIE-LABlab(36.85, 49.08, -61.07)
CIE-LCHlch(36.85, 78.35, 308.79°)
OKLaboklab(47.72% 0.0798 -0.1747)
OKLCHoklch(47.72% 0.192 294.5)
XYZxyz(16.1393, 9.4567, 47.9791)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6839BB #8CBB39
analogous
#394BBB #6839BB #A939BB
triadic
#6839BB #BB6839 #39BB68
tetradic
#6839BB #BB394B #8CBB39 #39BBA9
square
#6839BB #BB394B #8CBB39 #39BBA9
split-complementary
#6839BB #BBA939 #4BBB39
monochromatic
#341C5D #4E2B8C #6839BB #8962CF #AD91DD

Accessibility & contrast

On white

7.26
#6839BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6839BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6839BB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6839BB#FFFFFF#000000##FFFFFF
##6839BB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#515976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6839bb;
/* rgb */ color: rgb(104, 57, 187);
/* oklch */ color: oklch(47.7% 0.192 294.5);
Tailwind
colors: {
  custom: {
    50: '#9a73d0',
    500: '#6839bb',
    950: '#000000',
  },
}
SCSS
$custom: #6839bb;
$custom-light: #9a73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6839bb",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 261.692,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47721,
    "c": 0.19211,
    "h": 294.5
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#6839BB
secondary
#B1C887
accent
#DD4BA8
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6839BB

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

Preview Lab → · Contrast checker → · Palette generator →

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