#6846A4#6846A4

#6846A4 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.146 H 297.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6846A4
RGBrgb(104, 70, 164)
HSLhsl(262, 40%, 46%)
HSVhsv(262, 57%, 64%)
CMYKcmyk(36.6%, 57.3%, 0%, 35.7%)
CIE-LABlab(37.85, 35.66, -45.81)
CIE-LCHlch(37.85, 58.05, 307.90°)
OKLaboklab(47.92% 0.0669 -0.1299)
OKLCHoklch(47.92% 0.146 297.3)
XYZxyz(14.5982, 10.0035, 36.2765)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846A4 #82A446
analogous
#4653A4 #6846A4 #9746A4
triadic
#6846A4 #A46846 #46A468
tetradic
#6846A4 #A44653 #82A446 #46A497
square
#6846A4 #A44653 #82A446 #46A497
split-complementary
#6846A4 #A49746 #53A446
monochromatic
#32214E #4D3479 #6846A4 #8868BF #AA93D1

Accessibility & contrast

On white

7.00
#6846A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6846A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846A4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846A4#FFFFFF#000000##FFFFFF
##6846A41.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A7
Deuteranopia (green-blind)
#2558A2
Tritanopia (blue-blind)
#5A596E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6846a4;
/* rgb */ color: rgb(104, 70, 164);
/* oklch */ color: oklch(47.9% 0.146 297.3);
Tailwind
colors: {
  custom: {
    50: '#977bbf',
    500: '#6846a4',
    950: '#000000',
  },
}
SCSS
$custom: #6846a4;
$custom-light: #977bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6846a4",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 261.702,
    "s": 40.171,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47921,
    "c": 0.14613,
    "h": 297.3
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#6846A4
secondary
#AABD89
accent
#D058A5
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6846A4

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

Preview Lab → · Contrast checker → · Palette generator →

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