#6848E1#6848E1

#6848E1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.219 H 285.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6848E1
RGBrgb(104, 72, 225)
HSLhsl(253, 72%, 58%)
HSVhsv(253, 68%, 88%)
CMYKcmyk(53.8%, 68%, 0%, 11.8%)
CIE-LABlab(42.78, 51.81, -73.37)
CIE-LCHlch(42.78, 89.82, 305.23°)
OKLaboklab(52.92% 0.0596 -0.2109)
OKLCHoklch(52.92% 0.219 285.8)
XYZxyz(21.6128, 13.0128, 72.5925)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848E1 #C1E148
analogous
#4874E1 #6848E1 #B448E1
triadic
#6848E1 #E16848 #48E168
tetradic
#6848E1 #E14874 #C1E148 #48E1B4
square
#6848E1 #E14874 #C1E148 #48E1B4
split-complementary
#6848E1 #E1B448 #74E148
monochromatic
#331996 #4521CB #6848E1 #937DEA #BFB1F2

Accessibility & contrast

On white

5.83
#6848E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6848E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848E1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848E1#FFFFFF#000000##FFFFFF
##6848E11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#34708F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6848e1;
/* rgb */ color: rgb(104, 72, 225);
/* oklch */ color: oklch(52.9% 0.219 285.8);
Tailwind
colors: {
  custom: {
    50: '#9e7dec',
    500: '#6848e1',
    950: '#000000',
  },
}
SCSS
$custom: #6848e1;
$custom-light: #9e7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6848e1",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 252.549,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52919,
    "c": 0.21917,
    "h": 285.8
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#6848E1
secondary
#D4E1A4
accent
#EF39C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6848E1

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

Preview Lab → · Contrast checker → · Palette generator →

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