#6848CF#6848CF

#6848CF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.198 H 288.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6848CF
RGBrgb(104, 72, 207)
HSLhsl(254, 58%, 55%)
HSVhsv(254, 65%, 81%)
CMYKcmyk(49.8%, 65.2%, 0%, 18.8%)
CIE-LABlab(41.35, 46.63, -65.40)
CIE-LCHlch(41.35, 80.32, 305.49°)
OKLaboklab(51.44% 0.0621 -0.1875)
OKLCHoklch(51.44% 0.198 288.3)
XYZxyz(19.2855, 12.0819, 60.3353)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848CF #AFCF48
analogous
#486CCF #6848CF #AB48CF
triadic
#6848CF #CF6848 #48CF68
tetradic
#6848CF #CF486C #AFCF48 #48CFAB
square
#6848CF #CF486C #AFCF48 #48CFAB
split-complementary
#6848CF #CFAB48 #6CCF48
monochromatic
#36217C #4B2DAD #6848CF #9078DC #B8A9E8

Accessibility & contrast

On white

6.15
#6848CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6848CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848CF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848CF#FFFFFF#000000##FFFFFF
##6848CF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6848cf;
/* rgb */ color: rgb(104, 72, 207);
/* oklch */ color: oklch(51.4% 0.198 288.3);
Tailwind
colors: {
  custom: {
    50: '#9c7ddf',
    500: '#6848cf',
    950: '#000000',
  },
}
SCSS
$custom: #6848cf;
$custom-light: #9c7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6848cf",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 254.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.19752,
    "h": 288.3
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

primary
#6848CF
secondary
#C8D69D
accent
#E246BD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6848CF

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

Preview Lab → · Contrast checker → · Palette generator →

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