#6846E9#6846E9

#6846E9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.231 H 285.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6846E9
RGBrgb(104, 70, 233)
HSLhsl(253, 79%, 59%)
HSVhsv(253, 70%, 91%)
CMYKcmyk(55.4%, 70%, 0%, 8.6%)
CIE-LABlab(43.07, 55.16, -77.44)
CIE-LCHlch(43.07, 95.07, 305.46°)
OKLaboklab(53.33% 0.0599 -0.2228)
OKLCHoklch(53.33% 0.231 285)
XYZxyz(22.6026, 13.2052, 78.4329)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846E9 #C7E946
analogous
#4676E9 #6846E9 #B946E9
triadic
#6846E9 #E96846 #46E968
tetradic
#6846E9 #E94676 #C7E946 #46E9B9
square
#6846E9 #E94676 #C7E946 #46E9B9
split-complementary
#6846E9 #E9B946 #76E946
monochromatic
#3113A1 #411AD8 #6846E9 #957DF0 #C1B3F6

Accessibility & contrast

On white

5.77
#6846E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6846E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846E9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846E9#FFFFFF#000000##FFFFFF
##6846E91.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#2A7193
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6846e9;
/* rgb */ color: rgb(104, 70, 233);
/* oklch */ color: oklch(53.3% 0.231 285.0);
Tailwind
colors: {
  custom: {
    50: '#9f7cf1',
    500: '#6846e9',
    950: '#000000',
  },
}
SCSS
$custom: #6846e9;
$custom-light: #9f7cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6846e9",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 252.515,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.23073,
    "h": 285
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#6846E9
secondary
#D8E5A6
accent
#F533CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6846E9

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

Preview Lab → · Contrast checker → · Palette generator →

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