#6846EA#6846EA

#6846EA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.232 H 284.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6846EA
RGBrgb(104, 70, 234)
HSLhsl(252, 80%, 60%)
HSVhsv(252, 70%, 92%)
CMYKcmyk(55.6%, 70.1%, 0%, 8.2%)
CIE-LABlab(43.16, 55.44, -77.86)
CIE-LCHlch(43.16, 95.59, 305.45°)
OKLaboklab(53.42% 0.0597 -0.2241)
OKLCHoklch(53.42% 0.232 284.9)
XYZxyz(22.7459, 13.2625, 79.1873)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846EA #C8EA46
analogous
#4676EA #6846EA #BA46EA
triadic
#6846EA #EA6846 #46EA68
tetradic
#6846EA #EA4676 #C8EA46 #46EABA
square
#6846EA #EA4676 #C8EA46 #46EABA
split-complementary
#6846EA #EABA46 #76EA46
monochromatic
#3013A3 #4119DA #6846EA #957DF0 #C2B4F6

Accessibility & contrast

On white

5.75
#6846EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6846EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846EA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846EA#FFFFFF#000000##FFFFFF
##6846EA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#297293
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6846ea;
/* rgb */ color: rgb(104, 70, 234);
/* oklch */ color: oklch(53.4% 0.232 284.9);
Tailwind
colors: {
  custom: {
    50: '#a07cf2',
    500: '#6846ea',
    950: '#000000',
  },
}
SCSS
$custom: #6846ea;
$custom-light: #a07cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6846ea",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 234
  },
  "hsl": {
    "h": 252.439,
    "s": 79.612,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.23189,
    "h": 284.9
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

primary
#6846EA
secondary
#D9E6A6
accent
#F632CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6846EA

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

Preview Lab → · Contrast checker → · Palette generator →

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