#6846E8#6846E8

#6846E8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.230 H 285.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6846E8
RGBrgb(104, 70, 232)
HSLhsl(253, 78%, 59%)
HSVhsv(253, 70%, 91%)
CMYKcmyk(55.2%, 69.8%, 0%, 9%)
CIE-LABlab(42.99, 54.87, -77.01)
CIE-LCHlch(42.99, 94.56, 305.47°)
OKLaboklab(53.25% 0.06 -0.2216)
OKLCHoklch(53.25% 0.23 285.2)
XYZxyz(22.4602, 13.1483, 77.6827)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846E8 #C6E846
analogous
#4675E8 #6846E8 #B946E8
triadic
#6846E8 #E86846 #46E868
tetradic
#6846E8 #E84675 #C6E846 #46E8B9
square
#6846E8 #E84675 #C6E846 #46E8B9
split-complementary
#6846E8 #E8B946 #75E846
monochromatic
#3114A0 #421BD6 #6846E8 #947CEF #C1B3F6

Accessibility & contrast

On white

5.79
#6846E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6846E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846E8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846E8#FFFFFF#000000##FFFFFF
##6846E81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#0060E5
Tritanopia (blue-blind)
#2C7192
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6846e8;
/* rgb */ color: rgb(104, 70, 232);
/* oklch */ color: oklch(53.2% 0.230 285.2);
Tailwind
colors: {
  custom: {
    50: '#9f7cf1',
    500: '#6846e8',
    950: '#000000',
  },
}
SCSS
$custom: #6846e8;
$custom-light: #9f7cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6846e8",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 252.593,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.22957,
    "h": 285.2
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#6846E8
secondary
#D7E5A5
accent
#F433CC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6846E8

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

Preview Lab → · Contrast checker → · Palette generator →

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