#6847DB#6847DB

#6847DB is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.213 H 286.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6847DB
RGBrgb(104, 71, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(52.5%, 67.6%, 0%, 14.1%)
CIE-LABlab(42.10, 50.62, -71.07)
CIE-LCHlch(42.10, 87.25, 305.46°)
OKLaboklab(52.28% 0.0614 -0.2041)
OKLCHoklch(52.28% 0.213 286.7)
XYZxyz(20.7445, 12.5629, 68.3359)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847DB #BADB47
analogous
#4770DB #6847DB #B247DB
triadic
#6847DB #DB6847 #47DB68
tetradic
#6847DB #DB4770 #BADB47 #47DBB2
square
#6847DB #DB4770 #BADB47 #47DBB2
split-complementary
#6847DB #DBB247 #70DB47
monochromatic
#351B8C #4825BF #6847DB #927AE5 #BCADEF

Accessibility & contrast

On white

5.98
#6847DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6847DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847DB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847DB#FFFFFF#000000##FFFFFF
##6847DB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#3A6D8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6847db;
/* rgb */ color: rgb(104, 71, 219);
/* oklch */ color: oklch(52.3% 0.213 286.7);
Tailwind
colors: {
  custom: {
    50: '#9d7de7',
    500: '#6847db',
    950: '#000000',
  },
}
SCSS
$custom: #6847db;
$custom-light: #9d7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6847db",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 253.378,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.21319,
    "h": 286.7
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#6847DB
secondary
#D0DDA1
accent
#EA3EC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6847DB

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

Preview Lab → · Contrast checker → · Palette generator →

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