#6949BB#6949BB

#6949BB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.171 H 292.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6949BB
RGBrgb(105, 73, 187)
HSLhsl(257, 46%, 51%)
HSVhsv(257, 61%, 73%)
CMYKcmyk(43.9%, 61%, 0%, 26.7%)
CIE-LABlab(40.17, 40.55, -55.67)
CIE-LCHlch(40.17, 68.88, 306.07°)
OKLaboklab(50.15% 0.0642 -0.1589)
OKLCHoklch(50.15% 0.171 292)
XYZxyz(17.1754, 11.3557, 48.2910)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6949BB #9BBB49
analogous
#4962BB #6949BB #A249BB
triadic
#6949BB #BB6949 #49BB69
tetradic
#6949BB #BB4962 #9BBB49 #49BBA2
square
#6949BB #BB4962 #9BBB49 #49BBA2
split-complementary
#6949BB #BBA249 #62BB49
monochromatic
#372564 #503691 #6949BB #8E76CC #B2A2DC

Accessibility & contrast

On white

6.42
#6949BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6949BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6949BB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6949BB#FFFFFF#000000##FFFFFF
##6949BB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#52637B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6949bb;
/* rgb */ color: rgb(105, 73, 187);
/* oklch */ color: oklch(50.1% 0.171 292.0);
Tailwind
colors: {
  custom: {
    50: '#9a7dd0',
    500: '#6949bb',
    950: '#000000',
  },
}
SCSS
$custom: #6949bb;
$custom-light: #9a7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6949bb",
  "rgb": {
    "r": 105,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 256.842,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.17132,
    "h": 292
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#6949BB
secondary
#BBC997
accent
#D553B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6949BB

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

Preview Lab → · Contrast checker → · Palette generator →

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