#6946CB#6946CB

#6946CB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.195 H 289.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6946CB
RGBrgb(105, 70, 203)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48.3%, 65.5%, 0%, 20.4%)
CIE-LABlab(40.73, 46.77, -64.09)
CIE-LCHlch(40.73, 79.35, 306.12°)
OKLaboklab(50.92% 0.066 -0.1836)
OKLCHoklch(50.92% 0.195 289.8)
XYZxyz(18.7923, 11.6946, 57.7555)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946CB #A8CB46
analogous
#4665CB #6946CB #AB46CB
triadic
#6946CB #CB6946 #46CB69
tetradic
#6946CB #CB4665 #A8CB46 #46CBAB
square
#6946CB #CB4665 #A8CB46 #46CBAB
split-complementary
#6946CB #CBAB46 #65CB46
monochromatic
#372176 #4E2EA5 #6946CB #9076D8 #B6A6E6

Accessibility & contrast

On white

6.29
#6946CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6946CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946CB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946CB#FFFFFF#000000##FFFFFF
##6946CB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#496682
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6946cb;
/* rgb */ color: rgb(105, 70, 203);
/* oklch */ color: oklch(50.9% 0.195 289.8);
Tailwind
colors: {
  custom: {
    50: '#9c7cdc',
    500: '#6946cb',
    950: '#000000',
  },
}
SCSS
$custom: #6946cb;
$custom-light: #9c7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6946cb",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 255.789,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.19511,
    "h": 289.8
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#6946CB
secondary
#C4D39A
accent
#DF48B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6946CB

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

Preview Lab → · Contrast checker → · Palette generator →

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