#6848BE#6848BE

#6848BE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.176 H 291.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6848BE
RGBrgb(104, 72, 190)
HSLhsl(256, 48%, 51%)
HSVhsv(256, 62%, 75%)
CMYKcmyk(45.3%, 62.1%, 0%, 25.5%)
CIE-LABlab(40.07, 41.77, -57.60)
CIE-LCHlch(40.07, 71.14, 305.95°)
OKLaboklab(50.12% 0.0637 -0.1645)
OKLCHoklch(50.12% 0.176 291.2)
XYZxyz(17.3180, 11.2949, 49.9729)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848BE #9EBE48
analogous
#4863BE #6848BE #A348BE
triadic
#6848BE #BE6848 #48BE68
tetradic
#6848BE #BE4863 #9EBE48 #48BEA3
square
#6848BE #BE4863 #9EBE48 #48BEA3
split-complementary
#6848BE #BEA348 #63BE48
monochromatic
#372567 #4F3594 #6848BE #8D75CE #B3A2DE

Accessibility & contrast

On white

6.44
#6848BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6848BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848BE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848BE#FFFFFF#000000##FFFFFF
##6848BE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#4E637C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6848be;
/* rgb */ color: rgb(104, 72, 190);
/* oklch */ color: oklch(50.1% 0.176 291.2);
Tailwind
colors: {
  custom: {
    50: '#997cd2',
    500: '#6848be',
    950: '#000000',
  },
}
SCSS
$custom: #6848be;
$custom-light: #997cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6848be",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 256.271,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.17646,
    "h": 291.2
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#6848BE
secondary
#BDCB97
accent
#D751B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6848BE

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

Preview Lab → · Contrast checker → · Palette generator →

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