#6847DA#6847DA

#6847DA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.212 H 286.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6847DA
RGBrgb(104, 71, 218)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 67%, 85%)
CMYKcmyk(52.3%, 67.4%, 0%, 14.5%)
CIE-LABlab(42.02, 50.34, -70.63)
CIE-LCHlch(42.02, 86.73, 305.48°)
OKLaboklab(52.19% 0.0616 -0.2029)
OKLCHoklch(52.19% 0.212 286.9)
XYZxyz(20.6133, 12.5104, 67.6447)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847DA #B9DA47
analogous
#4770DA #6847DA #B147DA
triadic
#6847DA #DA6847 #47DA68
tetradic
#6847DA #DA4770 #B9DA47 #47DAB1
square
#6847DA #DA4770 #B9DA47 #47DAB1
split-complementary
#6847DA #DAB147 #70DA47
monochromatic
#351C8B #4826BE #6847DA #927AE4 #BCADEE

Accessibility & contrast

On white

6.00
#6847DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6847DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847DA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847DA#FFFFFF#000000##FFFFFF
##6847DA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#3B6C8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6847da;
/* rgb */ color: rgb(104, 71, 218);
/* oklch */ color: oklch(52.2% 0.212 286.9);
Tailwind
colors: {
  custom: {
    50: '#9d7de7',
    500: '#6847da',
    950: '#000000',
  },
}
SCSS
$custom: #6847da;
$custom-light: #9d7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6847da",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 253.469,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.212,
    "h": 286.9
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

primary
#6847DA
secondary
#CFDCA0
accent
#E93EC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6847DA

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

Preview Lab → · Contrast checker → · Palette generator →

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