#6846D7#6846D7

#6846D7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.210 H 287.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6846D7
RGBrgb(104, 70, 215)
HSLhsl(254, 64%, 56%)
HSVhsv(254, 67%, 84%)
CMYKcmyk(51.6%, 67.4%, 0%, 15.7%)
CIE-LABlab(41.58, 50.01, -69.63)
CIE-LCHlch(41.58, 85.73, 305.69°)
OKLaboklab(51.8% 0.0629 -0.1999)
OKLCHoklch(51.8% 0.21 287.5)
XYZxyz(20.1612, 12.2287, 65.5748)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846D7 #B5D746
analogous
#466CD7 #6846D7 #B046D7
triadic
#6846D7 #D76846 #46D768
tetradic
#6846D7 #D7466C #B5D746 #46D7B0
square
#6846D7 #D7466C #B5D746 #46D7B0
split-complementary
#6846D7 #D7B046 #6CD746
monochromatic
#351D86 #4A28B8 #6846D7 #9178E2 #BAABED

Accessibility & contrast

On white

6.09
#6846D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6846D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846D7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846D7#FFFFFF#000000##FFFFFF
##6846D71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#3E6B89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6846d7;
/* rgb */ color: rgb(104, 70, 215);
/* oklch */ color: oklch(51.8% 0.210 287.5);
Tailwind
colors: {
  custom: {
    50: '#9d7ce4',
    500: '#6846d7',
    950: '#000000',
  },
}
SCSS
$custom: #6846d7;
$custom-light: #9d7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#6846d7",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 254.069,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.20958,
    "h": 287.5
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#6846D7
secondary
#CCDA9E
accent
#E740C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6846D7

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

Preview Lab → · Contrast checker → · Palette generator →

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