#6946BB#6946BB

#6946BB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.175 H 292.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6946BB
RGBrgb(105, 70, 187)
HSLhsl(258, 46%, 50%)
HSVhsv(258, 63%, 73%)
CMYKcmyk(43.9%, 62.6%, 0%, 26.7%)
CIE-LABlab(39.53, 42.26, -56.71)
CIE-LCHlch(39.53, 70.72, 306.69°)
OKLaboklab(49.68% 0.0675 -0.1619)
OKLCHoklch(49.68% 0.175 292.6)
XYZxyz(16.9830, 10.9709, 48.2269)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946BB #98BB46
analogous
#465DBB #6946BB #A446BB
triadic
#6946BB #BB6946 #46BB69
tetradic
#6946BB #BB465D #98BB46 #46BBA4
square
#6946BB #BB465D #98BB46 #46BBA4
split-complementary
#6946BB #BBA446 #5DBB46
monochromatic
#372462 #50358F #6946BB #8D73CB #B2A0DC

Accessibility & contrast

On white

6.57
#6946BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6946BB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946BB#FFFFFF#000000##FFFFFF
##6946BB1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#52617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6946bb;
/* rgb */ color: rgb(105, 70, 187);
/* oklch */ color: oklch(49.7% 0.175 292.6);
Tailwind
colors: {
  custom: {
    50: '#9a7bd0',
    500: '#6946bb',
    950: '#000000',
  },
}
SCSS
$custom: #6946bb;
$custom-light: #9a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6946bb",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 257.949,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.17544,
    "h": 292.6
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#6946BB
secondary
#B9C894
accent
#D652AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6946BB

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

Preview Lab → · Contrast checker → · Palette generator →

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