#6848BD#6848BD

#6848BD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.175 H 291.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6848BD
RGBrgb(104, 72, 189)
HSLhsl(256, 47%, 51%)
HSVhsv(256, 62%, 74%)
CMYKcmyk(45%, 61.9%, 0%, 25.9%)
CIE-LABlab(40.00, 41.48, -57.13)
CIE-LCHlch(40.00, 70.60, 305.98°)
OKLaboklab(50.04% 0.0638 -0.1632)
OKLCHoklch(50.04% 0.175 291.4)
XYZxyz(17.2090, 11.2513, 49.3992)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848BD #9DBD48
analogous
#4862BD #6848BD #A248BD
triadic
#6848BD #BD6848 #48BD68
tetradic
#6848BD #BD4862 #9DBD48 #48BDA2
square
#6848BD #BD4862 #9DBD48 #48BDA2
split-complementary
#6848BD #BDA248 #62BD48
monochromatic
#372566 #4F3593 #6848BD #8D75CD #B2A2DD

Accessibility & contrast

On white

6.46
#6848BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6848BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848BD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848BD#FFFFFF#000000##FFFFFF
##6848BD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#4F637C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6848bd;
/* rgb */ color: rgb(104, 72, 189);
/* oklch */ color: oklch(50.0% 0.175 291.4);
Tailwind
colors: {
  custom: {
    50: '#997cd2',
    500: '#6848bd',
    950: '#000000',
  },
}
SCSS
$custom: #6848bd;
$custom-light: #997cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6848bd",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 256.41,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50041,
    "c": 0.17521,
    "h": 291.4
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#6848BD
secondary
#BCCA97
accent
#D751B2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6848BD

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

Preview Lab → · Contrast checker → · Palette generator →

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