#6949CB#6949CB

#6949CB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.191 H 289.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6949CB
RGBrgb(105, 73, 203)
HSLhsl(255, 56%, 54%)
HSVhsv(255, 64%, 80%)
CMYKcmyk(48.3%, 64%, 0%, 20.4%)
CIE-LABlab(41.34, 45.11, -63.09)
CIE-LCHlch(41.34, 77.56, 305.56°)
OKLaboklab(51.36% 0.0629 -0.1807)
OKLCHoklch(51.36% 0.191 289.2)
XYZxyz(18.9846, 12.0794, 57.8196)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6949CB #ABCB49
analogous
#496ACB #6949CB #AA49CB
triadic
#6949CB #CB6949 #49CB69
tetradic
#6949CB #CB496A #ABCB49 #49CBAA
square
#6949CB #CB496A #ABCB49 #49CBAA
split-complementary
#6949CB #CBAA49 #6ACB49
monochromatic
#372277 #4D30A7 #6949CB #9079D9 #B7A8E6

Accessibility & contrast

On white

6.15
#6949CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6949CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6949CB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6949CB#FFFFFF#000000##FFFFFF
##6949CB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#486883
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6949cb;
/* rgb */ color: rgb(105, 73, 203);
/* oklch */ color: oklch(51.4% 0.191 289.2);
Tailwind
colors: {
  custom: {
    50: '#9c7ddc',
    500: '#6949cb',
    950: '#000000',
  },
}
SCSS
$custom: #6949cb;
$custom-light: #9c7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6949cb",
  "rgb": {
    "r": 105,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 254.769,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.19133,
    "h": 289.2
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#6949CB
secondary
#C6D49C
accent
#DF49BA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6949CB

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

Preview Lab → · Contrast checker → · Palette generator →

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