#6949CF#6949CF

#6949CF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.196 H 288.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6949CF
RGBrgb(105, 73, 207)
HSLhsl(254, 58%, 55%)
HSVhsv(254, 65%, 81%)
CMYKcmyk(49.3%, 64.7%, 0%, 18.8%)
CIE-LABlab(41.65, 46.26, -64.91)
CIE-LCHlch(41.65, 79.70, 305.48°)
OKLaboklab(51.68% 0.0625 -0.186)
OKLCHoklch(51.68% 0.196 288.6)
XYZxyz(19.4675, 12.2725, 60.3625)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6949CF #AFCF49
analogous
#496CCF #6949CF #AC49CF
triadic
#6949CF #CF6949 #49CF69
tetradic
#6949CF #CF496C #AFCF49 #49CFAC
square
#6949CF #CF496C #AFCF49 #49CFAC
split-complementary
#6949CF #CFAC49 #6CCF49
monochromatic
#37217D #4C2EAD #6949CF #9179DC #B9AAE9

Accessibility & contrast

On white

6.08
#6949CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6949CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6949CF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6949CF#FFFFFF#000000##FFFFFF
##6949CF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#466A85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6949cf;
/* rgb */ color: rgb(105, 73, 207);
/* oklch */ color: oklch(51.7% 0.196 288.6);
Tailwind
colors: {
  custom: {
    50: '#9c7edf',
    500: '#6949cf',
    950: '#000000',
  },
}
SCSS
$custom: #6949cf;
$custom-light: #9c7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#6949cf",
  "rgb": {
    "r": 105,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 254.328,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.19624,
    "h": 288.6
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#6949CF
secondary
#C9D69E
accent
#E146BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6949CF

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

Preview Lab → · Contrast checker → · Palette generator →

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