#6949CC#6949CC

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

Color values

HEX#6949CC
RGBrgb(105, 73, 204)
HSLhsl(255, 56%, 54%)
HSVhsv(255, 64%, 80%)
CMYKcmyk(48.5%, 64.2%, 0%, 20%)
CIE-LABlab(41.42, 45.40, -63.55)
CIE-LCHlch(41.42, 78.10, 305.54°)
OKLaboklab(51.44% 0.0628 -0.182)
OKLCHoklch(51.44% 0.193 289)
XYZxyz(19.1042, 12.1272, 58.4492)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6949CC #ACCC49
analogous
#496BCC #6949CC #AA49CC
triadic
#6949CC #CC6949 #49CC69
tetradic
#6949CC #CC496B #ACCC49 #49CCAA
square
#6949CC #CC496B #ACCC49 #49CCAA
split-complementary
#6949CC #CCAA49 #6BCC49
monochromatic
#372279 #4D2FA9 #6949CC #9079D9 #B8A9E7

Accessibility & contrast

On white

6.13
#6949CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6949CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6949CC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6949CC#FFFFFF#000000##FFFFFF
##6949CC1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#486984
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6949cc;
/* rgb */ color: rgb(105, 73, 204);
/* oklch */ color: oklch(51.4% 0.193 289.0);
Tailwind
colors: {
  custom: {
    50: '#9c7ddc',
    500: '#6949cc',
    950: '#000000',
  },
}
SCSS
$custom: #6949cc;
$custom-light: #9c7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6949cc",
  "rgb": {
    "r": 105,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 254.656,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.19256,
    "h": 289
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#6949CC
secondary
#C7D49D
accent
#E048BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6949CC

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

Preview Lab → · Contrast checker → · Palette generator →

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