#6946D7#6946D7

#6946D7 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.210 H 287.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6946D7
RGBrgb(105, 70, 215)
HSLhsl(254, 64%, 56%)
HSVhsv(254, 67%, 84%)
CMYKcmyk(51.2%, 67.4%, 0%, 15.7%)
CIE-LABlab(41.67, 50.18, -69.47)
CIE-LCHlch(41.67, 85.70, 305.84°)
OKLaboklab(51.89% 0.0643 -0.1994)
OKLCHoklch(51.89% 0.21 287.9)
XYZxyz(20.2780, 12.2889, 65.5803)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946D7 #B4D746
analogous
#466BD7 #6946D7 #B146D7
triadic
#6946D7 #D76946 #46D769
tetradic
#6946D7 #D7466B #B4D746 #46D7B1
square
#6946D7 #D7466B #B4D746 #46D7B1
split-complementary
#6946D7 #D7B146 #6BD746
monochromatic
#361D86 #4B28B8 #6946D7 #9278E2 #BBABED

Accessibility & contrast

On white

6.07
#6946D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6946D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946D7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946D7#FFFFFF#000000##FFFFFF
##6946D71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#406B89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6946d7;
/* rgb */ color: rgb(105, 70, 215);
/* oklch */ color: oklch(51.9% 0.210 287.9);
Tailwind
colors: {
  custom: {
    50: '#9d7ce4',
    500: '#6946d7',
    950: '#000000',
  },
}
SCSS
$custom: #6946d7;
$custom-light: #9d7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#6946d7",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 254.483,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.20953,
    "h": 287.9
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#6946D7
secondary
#CCDA9E
accent
#E740BF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6946D7

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

Preview Lab → · Contrast checker → · Palette generator →

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