#6846DB#6846DB

#6846DB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.214 H 286.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6846DB
RGBrgb(104, 70, 219)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 68%, 86%)
CMYKcmyk(52.5%, 68%, 0%, 14.1%)
CIE-LABlab(41.90, 51.16, -71.39)
CIE-LCHlch(41.90, 87.82, 305.63°)
OKLaboklab(52.14% 0.0623 -0.2051)
OKLCHoklch(52.14% 0.214 286.9)
XYZxyz(20.6815, 12.4368, 68.3149)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846DB #B9DB46
analogous
#466FDB #6846DB #B246DB
triadic
#6846DB #DB6846 #46DB68
tetradic
#6846DB #DB466F #B9DB46 #46DBB2
square
#6846DB #DB466F #B9DB46 #46DBB2
split-complementary
#6846DB #DBB246 #6FDB46
monochromatic
#351B8B #4825BF #6846DB #9279E5 #BCACEF

Accessibility & contrast

On white

6.02
#6846DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6846DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846DB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846DB#FFFFFF#000000##FFFFFF
##6846DB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#3A6C8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6846db;
/* rgb */ color: rgb(104, 70, 219);
/* oklch */ color: oklch(52.1% 0.214 286.9);
Tailwind
colors: {
  custom: {
    50: '#9d7ce7',
    500: '#6846db',
    950: '#000000',
  },
}
SCSS
$custom: #6846db;
$custom-light: #9d7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6846db",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 253.691,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.21433,
    "h": 286.9
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#6846DB
secondary
#CFDDA0
accent
#EA3DC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6846DB

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

Preview Lab → · Contrast checker → · Palette generator →

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