#6839FA#6839FA

#6839FA is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.262 H 284.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6839FA
RGBrgb(104, 57, 250)
HSLhsl(255, 95%, 60%)
HSVhsv(255, 77%, 98%)
CMYKcmyk(58.4%, 77.2%, 0%, 2%)
CIE-LABlab(42.41, 66.08, -88.09)
CIE-LCHlch(42.41, 110.12, 306.88°)
OKLaboklab(53.33% 0.0648 -0.2539)
OKLCHoklch(53.33% 0.262 284.3)
XYZxyz(24.4221, 12.7699, 91.6019)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6839FA #CBFA39
analogous
#396BFA #6839FA #C839FA
triadic
#6839FA #FA6839 #39FA68
tetradic
#6839FA #FA396B #CBFA39 #39FAC8
square
#6839FA #FA396B #CBFA39 #39FAC8
split-complementary
#6839FA #FAC839 #6BFA39
monochromatic
#2F05B4 #3F06F0 #6839FA #9675FC #C3B0FD

Accessibility & contrast

On white

5.91
#6839FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6839FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6839FA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6839FA#FFFFFF#000000##FFFFFF
##6839FA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AFF
Deuteranopia (green-blind)
#005EF7
Tritanopia (blue-blind)
#007299
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6839fa;
/* rgb */ color: rgb(104, 57, 250);
/* oklch */ color: oklch(53.3% 0.262 284.3);
Tailwind
colors: {
  custom: {
    50: '#a376fd',
    500: '#6839fa',
    950: '#000000',
  },
}
SCSS
$custom: #6839fa;
$custom-light: #a376fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6839fa",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 250
  },
  "hsl": {
    "h": 254.611,
    "s": 95.074,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53334,
    "c": 0.26202,
    "h": 284.3
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#6839FA
secondary
#DAECA2
accent
#E600AE
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#110918
muted
#807B86

Preview Lab

Preview with #6839FA

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

Preview Lab → · Contrast checker → · Palette generator →

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