#6946D1#6946D1

#6946D1 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.202 H 288.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6946D1
RGBrgb(105, 70, 209)
HSLhsl(255, 60%, 55%)
HSVhsv(255, 67%, 82%)
CMYKcmyk(49.8%, 66.5%, 0%, 18%)
CIE-LABlab(41.19, 48.48, -66.80)
CIE-LCHlch(41.19, 82.53, 305.97°)
OKLaboklab(51.4% 0.0652 -0.1916)
OKLCHoklch(51.4% 0.202 288.8)
XYZxyz(19.5211, 11.9862, 61.5942)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946D1 #AED146
analogous
#4669D1 #6946D1 #AF46D1
triadic
#6946D1 #D16946 #46D169
tetradic
#6946D1 #D14669 #AED146 #46D1AF
square
#6946D1 #D14669 #AED146 #46D1AF
split-complementary
#6946D1 #D1AF46 #69D146
monochromatic
#371F7D #4C2BAE #6946D1 #9177DD #B8A8E9

Accessibility & contrast

On white

6.18
#6946D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6946D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946D1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946D1#FFFFFF#000000##FFFFFF
##6946D11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#456986
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6946d1;
/* rgb */ color: rgb(105, 70, 209);
/* oklch */ color: oklch(51.4% 0.202 288.8);
Tailwind
colors: {
  custom: {
    50: '#9d7ce0',
    500: '#6946d1',
    950: '#000000',
  },
}
SCSS
$custom: #6946d1;
$custom-light: #9d7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#6946d1",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 255.108,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.20235,
    "h": 288.8
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#6946D1
secondary
#C8D79C
accent
#E344BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6946D1

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

Preview Lab → · Contrast checker → · Palette generator →

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