#6946CC#6946CC

#6946CC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.196 H 289.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6946CC
RGBrgb(105, 70, 204)
HSLhsl(256, 57%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48.5%, 65.7%, 0%, 20%)
CIE-LABlab(40.80, 47.06, -64.55)
CIE-LCHlch(40.80, 79.88, 306.09°)
OKLaboklab(51% 0.0658 -0.185)
OKLCHoklch(51% 0.196 289.6)
XYZxyz(18.9118, 11.7424, 58.3851)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946CC #A9CC46
analogous
#4666CC #6946CC #AC46CC
triadic
#6946CC #CC6946 #46CC69
tetradic
#6946CC #CC4666 #A9CC46 #46CCAC
square
#6946CC #CC4666 #A9CC46 #46CCAC
split-complementary
#6946CC #CCAC46 #66CC46
monochromatic
#372177 #4E2EA7 #6946CC #9076D9 #B7A6E6

Accessibility & contrast

On white

6.27
#6946CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6946CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946CC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946CC#FFFFFF#000000##FFFFFF
##6946CC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#486783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6946cc;
/* rgb */ color: rgb(105, 70, 204);
/* oklch */ color: oklch(51.0% 0.196 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c7cdc',
    500: '#6946cc',
    950: '#000000',
  },
}
SCSS
$custom: #6946cc;
$custom-light: #9c7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6946cc",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 255.672,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.19632,
    "h": 289.6
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#6946CC
secondary
#C5D49A
accent
#E048B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6946CC

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

Preview Lab → · Contrast checker → · Palette generator →

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