#6846AF#6846AF

#6846AF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.160 H 294.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6846AF
RGBrgb(104, 70, 175)
HSLhsl(259, 43%, 48%)
HSVhsv(259, 60%, 69%)
CMYKcmyk(40.6%, 60%, 0%, 31.4%)
CIE-LABlab(38.58, 38.69, -51.17)
CIE-LCHlch(38.58, 64.15, 307.09°)
OKLaboklab(48.69% 0.0668 -0.1457)
OKLCHoklch(48.69% 0.16 294.6)
XYZxyz(15.6349, 10.4182, 41.7363)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846AF #8DAF46
analogous
#4658AF #6846AF #9C46AF
triadic
#6846AF #AF6846 #46AF68
tetradic
#6846AF #AF4658 #8DAF46 #46AF9C
square
#6846AF #AF4658 #8DAF46 #46AF9C
split-complementary
#6846AF #AF9C46 #58AF46
monochromatic
#342358 #4E3583 #6846AF #8A6DC5 #AD99D6

Accessibility & contrast

On white

6.81
#6846AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6846AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846AF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846AF#FFFFFF#000000##FFFFFF
##6846AF1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#1259AD
Tritanopia (blue-blind)
#565D74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6846af;
/* rgb */ color: rgb(104, 70, 175);
/* oklch */ color: oklch(48.7% 0.160 294.6);
Tailwind
colors: {
  custom: {
    50: '#987bc8',
    500: '#6846af',
    950: '#000000',
  },
}
SCSS
$custom: #6846af;
$custom-light: #987bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6846af",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 259.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.16026,
    "h": 294.6
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#6846AF
secondary
#B2C28E
accent
#D355AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6846AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6846AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva