#6949BF#6949BF

#6949BF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.176 H 291.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6949BF
RGBrgb(105, 73, 191)
HSLhsl(256, 48%, 52%)
HSVhsv(256, 62%, 75%)
CMYKcmyk(45%, 61.8%, 0%, 25.1%)
CIE-LABlab(40.46, 41.69, -57.55)
CIE-LCHlch(40.46, 71.06, 305.92°)
OKLaboklab(50.44% 0.0639 -0.1644)
OKLCHoklch(50.44% 0.176 291.2)
XYZxyz(17.6096, 11.5293, 50.5777)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6949BF #9FBF49
analogous
#4964BF #6949BF #A449BF
triadic
#6949BF #BF6949 #49BF69
tetradic
#6949BF #BF4964 #9FBF49 #49BFA4
square
#6949BF #BF4964 #9FBF49 #49BFA4
split-complementary
#6949BF #BFA449 #64BF49
monochromatic
#372569 #4F3596 #6949BF #8E76CF #B4A4DF

Accessibility & contrast

On white

6.35
#6949BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6949BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6949BF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6949BF#FFFFFF#000000##FFFFFF
##6949BF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#4F647D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6949bf;
/* rgb */ color: rgb(105, 73, 191);
/* oklch */ color: oklch(50.4% 0.176 291.2);
Tailwind
colors: {
  custom: {
    50: '#9a7dd3',
    500: '#6949bf',
    950: '#000000',
  },
}
SCSS
$custom: #6949bf;
$custom-light: #9a7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6949bf",
  "rgb": {
    "r": 105,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 256.271,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.17638,
    "h": 291.2
  },
  "luminance": 0.1153
}

Semantic roles & 50–950 ramp

primary
#6949BF
secondary
#BECC98
accent
#D850B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6949BF

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

Preview Lab → · Contrast checker → · Palette generator →

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