#6846C9#6846C9

#6846C9 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.193 H 289.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6846C9
RGBrgb(104, 70, 201)
HSLhsl(256, 55%, 53%)
HSVhsv(256, 65%, 79%)
CMYKcmyk(48.3%, 65.2%, 0%, 21.2%)
CIE-LABlab(40.48, 46.02, -63.35)
CIE-LCHlch(40.48, 78.30, 306.00°)
OKLaboklab(50.67% 0.0648 -0.1815)
OKLCHoklch(50.67% 0.193 289.7)
XYZxyz(18.4387, 11.5397, 56.5029)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846C9 #A7C946
analogous
#4665C9 #6846C9 #AA46C9
triadic
#6846C9 #C96846 #46C968
tetradic
#6846C9 #C94665 #A7C946 #46C9AA
square
#6846C9 #C94665 #A7C946 #46C9AA
split-complementary
#6846C9 #C9AA46 #65C946
monochromatic
#372273 #4D2FA2 #6846C9 #8F75D7 #B5A5E5

Accessibility & contrast

On white

6.35
#6846C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6846C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846C9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846C9#FFFFFF#000000##FFFFFF
##6846C91.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#486681
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6846c9;
/* rgb */ color: rgb(104, 70, 201);
/* oklch */ color: oklch(50.7% 0.193 289.7);
Tailwind
colors: {
  custom: {
    50: '#9b7bda',
    500: '#6846c9',
    950: '#000000',
  },
}
SCSS
$custom: #6846c9;
$custom-light: #9b7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6846c9",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 201
  },
  "hsl": {
    "h": 255.573,
    "s": 54.812,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.1927,
    "h": 289.7
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#6846C9
secondary
#C3D299
accent
#DE4AB8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6846C9

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

Preview Lab → · Contrast checker → · Palette generator →

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