#6848A2#6848A2

#6848A2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.1% C 0.140 H 297.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6848A2
RGBrgb(104, 72, 162)
HSLhsl(261, 38%, 46%)
HSVhsv(261, 56%, 64%)
CMYKcmyk(35.8%, 55.6%, 0%, 36.5%)
CIE-LABlab(38.17, 33.94, -44.09)
CIE-LCHlch(38.17, 55.64, 307.59°)
OKLaboklab(48.12% 0.0643 -0.1248)
OKLCHoklch(48.12% 0.14 297.2)
XYZxyz(14.5462, 10.1862, 35.3752)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848A2 #82A248
analogous
#4855A2 #6848A2 #9548A2
triadic
#6848A2 #A26848 #48A268
tetradic
#6848A2 #A24855 #82A248 #48A295
square
#6848A2 #A24855 #82A248 #48A295
split-complementary
#6848A2 #A29548 #55A248
monochromatic
#32224D #4D3578 #6848A2 #886ABD #AA95D0

Accessibility & contrast

On white

6.91
#6848A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6848A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848A2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848A2#FFFFFF#000000##FFFFFF
##6848A21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#5B5A6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6848a2;
/* rgb */ color: rgb(104, 72, 162);
/* oklch */ color: oklch(48.1% 0.140 297.2);
Tailwind
colors: {
  custom: {
    50: '#977cbe',
    500: '#6848a2',
    950: '#000000',
  },
}
SCSS
$custom: #6848a2;
$custom-light: #977cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6848a2",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 261.333,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.14043,
    "h": 297.2
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#6848A2
secondary
#AABC8A
accent
#CE59A5
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6848A2

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

Preview Lab → · Contrast checker → · Palette generator →

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