#6839BE#6839BE

#6839BE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.196 H 293.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6839BE
RGBrgb(104, 57, 190)
HSLhsl(261, 54%, 48%)
HSVhsv(261, 70%, 75%)
CMYKcmyk(45.3%, 70%, 0%, 25.5%)
CIE-LABlab(37.09, 49.88, -62.44)
CIE-LCHlch(37.09, 79.92, 308.62°)
OKLaboklab(47.97% 0.0793 -0.1788)
OKLCHoklch(47.97% 0.196 293.9)
XYZxyz(16.4638, 9.5865, 49.6882)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6839BE #8FBE39
analogous
#394CBE #6839BE #AA39BE
triadic
#6839BE #BE6839 #39BE68
tetradic
#6839BE #BE394C #8FBE39 #39BEAA
square
#6839BE #BE394C #8FBE39 #39BEAA
split-complementary
#6839BE #BEAA39 #4CBE39
monochromatic
#341D60 #4E2B8F #6839BE #8A64D0 #AE93DF

Accessibility & contrast

On white

7.20
#6839BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6839BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6839BE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6839BE#FFFFFF#000000##FFFFFF
##6839BE1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#4F5A77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6839be;
/* rgb */ color: rgb(104, 57, 190);
/* oklch */ color: oklch(48.0% 0.196 293.9);
Tailwind
colors: {
  custom: {
    50: '#9a73d3',
    500: '#6839be',
    950: '#000000',
  },
}
SCSS
$custom: #6839be;
$custom-light: #9a73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6839be",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 261.203,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47968,
    "c": 0.19557,
    "h": 293.9
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#6839BE
secondary
#B3CA89
accent
#DD4BA9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6839BE

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

Preview Lab → · Contrast checker → · Palette generator →

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