#6849A2#6849A2

#6849A2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.3% C 0.139 H 297.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6849A2
RGBrgb(104, 73, 162)
HSLhsl(261, 38%, 46%)
HSVhsv(261, 55%, 64%)
CMYKcmyk(35.8%, 54.9%, 0%, 36.5%)
CIE-LABlab(38.40, 33.34, -43.72)
CIE-LCHlch(38.40, 54.98, 307.33°)
OKLaboklab(48.29% 0.063 -0.1238)
OKLCHoklch(48.29% 0.139 297)
XYZxyz(14.6114, 10.3166, 35.3969)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849A2 #83A249
analogous
#4956A2 #6849A2 #9449A2
triadic
#6849A2 #A26849 #49A268
tetradic
#6849A2 #A24956 #83A249 #49A294
square
#6849A2 #A24956 #83A249 #49A294
split-complementary
#6849A2 #A29449 #56A249
monochromatic
#32234E #4D3678 #6849A2 #886CBD #AA96D0

Accessibility & contrast

On white

6.86
#6849A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6849A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849A2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849A2#FFFFFF#000000##FFFFFF
##6849A21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#5B5B6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6849a2;
/* rgb */ color: rgb(104, 73, 162);
/* oklch */ color: oklch(48.3% 0.139 297.0);
Tailwind
colors: {
  custom: {
    50: '#967dbe',
    500: '#6849a2',
    950: '#000000',
  },
}
SCSS
$custom: #6849a2;
$custom-light: #967dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6849a2",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 260.899,
    "s": 37.872,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4829,
    "c": 0.13887,
    "h": 297
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#6849A2
secondary
#ABBC8B
accent
#CE5AA5
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6849A2

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

Preview Lab → · Contrast checker → · Palette generator →

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