#6946CF#6946CF

#6946CF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.200 H 289.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6946CF
RGBrgb(105, 70, 207)
HSLhsl(255, 59%, 54%)
HSVhsv(255, 66%, 81%)
CMYKcmyk(49.3%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.04, 47.91, -65.90)
CIE-LCHlch(41.04, 81.47, 306.02°)
OKLaboklab(51.24% 0.0654 -0.1889)
OKLCHoklch(51.24% 0.2 289.1)
XYZxyz(19.2751, 11.8877, 60.2983)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946CF #ACCF46
analogous
#4668CF #6946CF #AD46CF
triadic
#6946CF #CF6946 #46CF69
tetradic
#6946CF #CF4668 #ACCF46 #46CFAD
square
#6946CF #CF4668 #ACCF46 #46CFAD
split-complementary
#6946CF #CFAD46 #68CF46
monochromatic
#37207B #4D2CAB #6946CF #9077DC #B8A7E8

Accessibility & contrast

On white

6.22
#6946CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6946CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946CF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946CF#FFFFFF#000000##FFFFFF
##6946CF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#466884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6946cf;
/* rgb */ color: rgb(105, 70, 207);
/* oklch */ color: oklch(51.2% 0.200 289.1);
Tailwind
colors: {
  custom: {
    50: '#9c7cdf',
    500: '#6946cf',
    950: '#000000',
  },
}
SCSS
$custom: #6946cf;
$custom-light: #9c7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6946cf",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 255.328,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.19995,
    "h": 289.1
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#6946CF
secondary
#C7D59B
accent
#E246BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6946CF

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

Preview Lab → · Contrast checker → · Palette generator →

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