#6848E6#6848E6

#6848E6 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.225 H 285.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6848E6
RGBrgb(104, 72, 230)
HSLhsl(252, 76%, 59%)
HSVhsv(252, 69%, 90%)
CMYKcmyk(54.8%, 68.7%, 0%, 9.8%)
CIE-LABlab(43.20, 53.25, -75.53)
CIE-LCHlch(43.20, 92.42, 305.18°)
OKLaboklab(53.34% 0.0588 -0.2172)
OKLCHoklch(53.34% 0.225 285.1)
XYZxyz(22.3049, 13.2897, 76.2374)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848E6 #C6E648
analogous
#4877E6 #6848E6 #B748E6
triadic
#6848E6 #E66848 #48E668
tetradic
#6848E6 #E64877 #C6E648 #48E6B7
square
#6848E6 #E64877 #C6E648 #48E6B7
split-complementary
#6848E6 #E6B748 #77E648
monochromatic
#31169E #421DD4 #6848E6 #947EED #C1B4F5

Accessibility & contrast

On white

5.74
#6848E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6848E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848E6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848E6#FFFFFF#000000##FFFFFF
##6848E61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#2E7192
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6848e6;
/* rgb */ color: rgb(104, 72, 230);
/* oklch */ color: oklch(53.3% 0.225 285.1);
Tailwind
colors: {
  custom: {
    50: '#9f7eef',
    500: '#6848e6',
    950: '#000000',
  },
}
SCSS
$custom: #6848e6;
$custom-light: #9f7eef;
$custom-dark: #000000;
JSON
{
  "hex": "#6848e6",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 252.152,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.22506,
    "h": 285.1
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#6848E6
secondary
#D7E4A6
accent
#F335CC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6848E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6848E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva