#6846C8#6846C8

#6846C8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.191 H 289.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6846C8
RGBrgb(104, 70, 200)
HSLhsl(256, 54%, 53%)
HSVhsv(256, 65%, 78%)
CMYKcmyk(48%, 65%, 0%, 21.6%)
CIE-LABlab(40.40, 45.73, -62.89)
CIE-LCHlch(40.40, 77.76, 306.02°)
OKLaboklab(50.59% 0.0649 -0.1801)
OKLCHoklch(50.59% 0.191 289.8)
XYZxyz(18.3214, 11.4928, 55.8854)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846C8 #A6C846
analogous
#4665C8 #6846C8 #A946C8
triadic
#6846C8 #C86846 #46C868
tetradic
#6846C8 #C84665 #A6C846 #46C8A9
square
#6846C8 #C84665 #A6C846 #46C8A9
split-complementary
#6846C8 #C8A946 #65C846
monochromatic
#372272 #4D30A1 #6846C8 #8F75D6 #B5A4E4

Accessibility & contrast

On white

6.37
#6846C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6846C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846C8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846C8#FFFFFF#000000##FFFFFF
##6846C81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#496581
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6846c8;
/* rgb */ color: rgb(104, 70, 200);
/* oklch */ color: oklch(50.6% 0.191 289.8);
Tailwind
colors: {
  custom: {
    50: '#9b7bda',
    500: '#6846c8',
    950: '#000000',
  },
}
SCSS
$custom: #6846c8;
$custom-light: #9b7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6846c8",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 255.692,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.19148,
    "h": 289.8
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#6846C8
secondary
#C2D199
accent
#DE4AB7
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6846C8

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

Preview Lab → · Contrast checker → · Palette generator →

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