#6839C3#6839C3

#6839C3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.201 H 292.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6839C3
RGBrgb(104, 57, 195)
HSLhsl(260, 55%, 49%)
HSVhsv(260, 71%, 76%)
CMYKcmyk(46.7%, 70.8%, 0%, 23.5%)
CIE-LABlab(37.50, 51.23, -64.71)
CIE-LCHlch(37.50, 82.53, 308.37°)
OKLaboklab(48.38% 0.0783 -0.1854)
OKLCHoklch(48.38% 0.201 292.9)
XYZxyz(17.0196, 9.8089, 52.6157)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6839C3 #94C339
analogous
#394FC3 #6839C3 #AD39C3
triadic
#6839C3 #C36839 #39C368
tetradic
#6839C3 #C3394F #94C339 #39C3AD
square
#6839C3 #C3394F #94C339 #39C3AD
split-complementary
#6839C3 #C3AD39 #4FC339
monochromatic
#351D64 #4F2B94 #6839C3 #8B67D2 #AF96E0

Accessibility & contrast

On white

7.09
#6839C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6839C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6839C3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6839C3#FFFFFF#000000##FFFFFF
##6839C31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#4C5C7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6839c3;
/* rgb */ color: rgb(104, 57, 195);
/* oklch */ color: oklch(48.4% 0.201 292.9);
Tailwind
colors: {
  custom: {
    50: '#9b73d6',
    500: '#6839c3',
    950: '#000000',
  },
}
SCSS
$custom: #6839c3;
$custom-light: #9b73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6839c3",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 260.435,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.2013,
    "h": 292.9
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#6839C3
secondary
#B6CC8C
accent
#DE4AAC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6839C3

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

Preview Lab → · Contrast checker → · Palette generator →

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