#6946D4#6946D4

#6946D4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.206 H 288.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6946D4
RGBrgb(105, 70, 212)
HSLhsl(255, 62%, 55%)
HSVhsv(255, 67%, 83%)
CMYKcmyk(50.5%, 67%, 0%, 16.9%)
CIE-LABlab(41.43, 49.33, -68.14)
CIE-LCHlch(41.43, 84.12, 305.90°)
OKLaboklab(51.65% 0.0647 -0.1955)
OKLCHoklch(51.65% 0.206 288.3)
XYZxyz(19.8961, 12.1361, 63.5687)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946D4 #B1D446
analogous
#466AD4 #6946D4 #B046D4
triadic
#6946D4 #D46946 #46D469
tetradic
#6946D4 #D4466A #B1D446 #46D4B0
square
#6946D4 #D4466A #B1D446 #46D4B0
split-complementary
#6946D4 #D4B046 #6AD446
monochromatic
#371E81 #4C2AB3 #6946D4 #9178E0 #BAA9EB

Accessibility & contrast

On white

6.13
#6946D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6946D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946D4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946D4#FFFFFF#000000##FFFFFF
##6946D41.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)
#0065D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#426A87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6946d4;
/* rgb */ color: rgb(105, 70, 212);
/* oklch */ color: oklch(51.6% 0.206 288.3);
Tailwind
colors: {
  custom: {
    50: '#9d7ce2',
    500: '#6946d4',
    950: '#000000',
  },
}
SCSS
$custom: #6946d4;
$custom-light: #9d7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#6946d4",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 254.789,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.20595,
    "h": 288.3
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#6946D4
secondary
#CAD99D
accent
#E542BD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #6946D4

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

Preview Lab → · Contrast checker → · Palette generator →

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