#6848CE#6848CE

#6848CE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.196 H 288.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6848CE
RGBrgb(104, 72, 206)
HSLhsl(254, 58%, 55%)
HSVhsv(254, 65%, 81%)
CMYKcmyk(49.5%, 65%, 0%, 19.2%)
CIE-LABlab(41.27, 46.34, -64.95)
CIE-LCHlch(41.27, 79.79, 305.51°)
OKLaboklab(51.36% 0.0622 -0.1862)
OKLCHoklch(51.36% 0.196 288.5)
XYZxyz(19.1636, 12.0332, 59.6934)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848CE #AECE48
analogous
#486BCE #6848CE #AB48CE
triadic
#6848CE #CE6848 #48CE68
tetradic
#6848CE #CE486B #AECE48 #48CEAB
square
#6848CE #CE486B #AECE48 #48CEAB
split-complementary
#6848CE #CEAB48 #6BCE48
monochromatic
#36217B #4C2EAB #6848CE #9078DB #B8A9E8

Accessibility & contrast

On white

6.16
#6848CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6848CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848CE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848CE#FFFFFF#000000##FFFFFF
##6848CE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#446985
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6848ce;
/* rgb */ color: rgb(104, 72, 206);
/* oklch */ color: oklch(51.4% 0.196 288.5);
Tailwind
colors: {
  custom: {
    50: '#9b7dde',
    500: '#6848ce',
    950: '#000000',
  },
}
SCSS
$custom: #6848ce;
$custom-light: #9b7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#6848ce",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 254.328,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.19631,
    "h": 288.5
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#6848CE
secondary
#C8D59D
accent
#E147BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6848CE

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

Preview Lab → · Contrast checker → · Palette generator →

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