#6848D0#6848D0

#6848D0 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.199 H 288.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6848D0
RGBrgb(104, 72, 208)
HSLhsl(254, 59%, 55%)
HSVhsv(254, 65%, 82%)
CMYKcmyk(50%, 65.4%, 0%, 18.4%)
CIE-LABlab(41.42, 46.92, -65.85)
CIE-LCHlch(41.42, 80.86, 305.47°)
OKLaboklab(51.52% 0.062 -0.1888)
OKLCHoklch(51.52% 0.199 288.2)
XYZxyz(19.4081, 12.1310, 60.9812)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848D0 #B0D048
analogous
#486CD0 #6848D0 #AC48D0
triadic
#6848D0 #D06848 #48D068
tetradic
#6848D0 #D0486C #B0D048 #48D0AC
square
#6848D0 #D0486C #B0D048 #48D0AC
split-complementary
#6848D0 #D0AC48 #6CD048
monochromatic
#36207D #4B2DAE #6848D0 #9079DD #B8A9E9

Accessibility & contrast

On white

6.13
#6848D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6848D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848D0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848D0#FFFFFF#000000##FFFFFF
##6848D01.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#436986
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6848d0;
/* rgb */ color: rgb(104, 72, 208);
/* oklch */ color: oklch(51.5% 0.199 288.2);
Tailwind
colors: {
  custom: {
    50: '#9c7ddf',
    500: '#6848d0',
    950: '#000000',
  },
}
SCSS
$custom: #6848d0;
$custom-light: #9c7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6848d0",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 254.118,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.19875,
    "h": 288.2
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#6848D0
secondary
#C9D79D
accent
#E245BD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6848D0

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

Preview Lab → · Contrast checker → · Palette generator →

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