#6848E0#6848E0

#6848E0 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.8% C 0.218 H 285.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6848E0
RGBrgb(104, 72, 224)
HSLhsl(253, 71%, 58%)
HSVhsv(253, 68%, 88%)
CMYKcmyk(53.6%, 67.9%, 0%, 12.2%)
CIE-LABlab(42.70, 51.52, -72.93)
CIE-LCHlch(42.70, 89.30, 305.24°)
OKLaboklab(52.84% 0.0598 -0.2096)
OKLCHoklch(52.84% 0.218 285.9)
XYZxyz(21.4768, 12.9584, 71.8761)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848E0 #C0E048
analogous
#4874E0 #6848E0 #B448E0
triadic
#6848E0 #E06848 #48E068
tetradic
#6848E0 #E04874 #C0E048 #48E0B4
square
#6848E0 #E04874 #C0E048 #48E0B4
split-complementary
#6848E0 #E0B448 #74E048
monochromatic
#331994 #4522C9 #6848E0 #937CE9 #BEB1F2

Accessibility & contrast

On white

5.85
#6848E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6848E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848E0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848E0#FFFFFF#000000##FFFFFF
##6848E01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#356F8E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6848e0;
/* rgb */ color: rgb(104, 72, 224);
/* oklch */ color: oklch(52.8% 0.218 285.9);
Tailwind
colors: {
  custom: {
    50: '#9e7deb',
    500: '#6848e0',
    950: '#000000',
  },
}
SCSS
$custom: #6848e0;
$custom-light: #9e7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#6848e0",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 252.632,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.21798,
    "h": 285.9
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#6848E0
secondary
#D3E0A4
accent
#EE3AC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6848E0

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

Preview Lab → · Contrast checker → · Palette generator →

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