#6848BB#6848BB

#6848BB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.9% C 0.173 H 291.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6848BB
RGBrgb(104, 72, 187)
HSLhsl(257, 46%, 51%)
HSVhsv(257, 61%, 73%)
CMYKcmyk(44.4%, 61.5%, 0%, 26.7%)
CIE-LABlab(39.86, 40.91, -56.19)
CIE-LCHlch(39.86, 69.50, 306.06°)
OKLaboklab(49.89% 0.0639 -0.1604)
OKLCHoklch(49.89% 0.173 291.7)
XYZxyz(16.9934, 11.1651, 48.2638)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848BB #9BBB48
analogous
#4861BB #6848BB #A248BB
triadic
#6848BB #BB6848 #48BB68
tetradic
#6848BB #BB4861 #9BBB48 #48BBA2
square
#6848BB #BB4861 #9BBB48 #48BBA2
split-complementary
#6848BB #BBA248 #61BB48
monochromatic
#362564 #4F3690 #6848BB #8D75CC #B2A1DC

Accessibility & contrast

On white

6.50
#6848BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6848BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848BB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848BB#FFFFFF#000000##FFFFFF
##6848BB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#50627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6848bb;
/* rgb */ color: rgb(104, 72, 187);
/* oklch */ color: oklch(49.9% 0.173 291.7);
Tailwind
colors: {
  custom: {
    50: '#997cd0',
    500: '#6848bb',
    950: '#000000',
  },
}
SCSS
$custom: #6848bb;
$custom-light: #997cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6848bb",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 256.696,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49891,
    "c": 0.17268,
    "h": 291.7
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#6848BB
secondary
#BBC996
accent
#D552B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6848BB

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

Preview Lab → · Contrast checker → · Palette generator →

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