#6946D8#6946D8

#6946D8 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.211 H 287.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6946D8
RGBrgb(105, 70, 216)
HSLhsl(254, 65%, 56%)
HSVhsv(254, 68%, 85%)
CMYKcmyk(51.4%, 67.6%, 0%, 15.3%)
CIE-LABlab(41.75, 50.47, -69.91)
CIE-LCHlch(41.75, 86.22, 305.82°)
OKLaboklab(51.98% 0.0641 -0.2007)
OKLCHoklch(51.98% 0.211 287.7)
XYZxyz(20.4069, 12.3405, 66.2591)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946D8 #B5D846
analogous
#466CD8 #6946D8 #B246D8
triadic
#6946D8 #D86946 #46D869
tetradic
#6946D8 #D8466C #B5D846 #46D8B2
square
#6946D8 #D8466C #B5D846 #46D8B2
split-complementary
#6946D8 #D8B246 #6CD846
monochromatic
#361C87 #4A27BA #6946D8 #9279E3 #BBABED

Accessibility & contrast

On white

6.06
#6946D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6946D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946D8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946D8#FFFFFF#000000##FFFFFF
##6946D81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#3F6B89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6946d8;
/* rgb */ color: rgb(105, 70, 216);
/* oklch */ color: oklch(52.0% 0.211 287.7);
Tailwind
colors: {
  custom: {
    50: '#9d7ce5',
    500: '#6946d8',
    950: '#000000',
  },
}
SCSS
$custom: #6946d8;
$custom-light: #9d7ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6946d8",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 254.384,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.21071,
    "h": 287.7
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#6946D8
secondary
#CDDB9F
accent
#E840C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6946D8

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

Preview Lab → · Contrast checker → · Palette generator →

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