#6946BA#6946BA

#6946BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.174 H 292.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6946BA
RGBrgb(105, 70, 186)
HSLhsl(258, 46%, 50%)
HSVhsv(258, 62%, 73%)
CMYKcmyk(43.5%, 62.4%, 0%, 27.1%)
CIE-LABlab(39.46, 41.98, -56.24)
CIE-LCHlch(39.46, 70.18, 306.74°)
OKLaboklab(49.6% 0.0676 -0.1605)
OKLCHoklch(49.6% 0.174 292.8)
XYZxyz(16.8764, 10.9283, 47.6650)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946BA #97BA46
analogous
#465DBA #6946BA #A346BA
triadic
#6946BA #BA6946 #46BA69
tetradic
#6946BA #BA465D #97BA46 #46BAA3
square
#6946BA #BA465D #97BA46 #46BAA3
split-complementary
#6946BA #BAA346 #5DBA46
monochromatic
#372461 #50358E #6946BA #8D73CB #B19FDB

Accessibility & contrast

On white

6.59
#6946BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6946BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946BA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946BA#FFFFFF#000000##FFFFFF
##6946BA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#526179
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6946ba;
/* rgb */ color: rgb(105, 70, 186);
/* oklch */ color: oklch(49.6% 0.174 292.8);
Tailwind
colors: {
  custom: {
    50: '#9a7bcf',
    500: '#6946ba',
    950: '#000000',
  },
}
SCSS
$custom: #6946ba;
$custom-light: #9a7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6946ba",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 258.103,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.17419,
    "h": 292.8
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#6946BA
secondary
#B8C894
accent
#D552AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6946BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6946BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva