#6946D6#6946D6

#6946D6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.208 H 288.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6946D6
RGBrgb(105, 70, 214)
HSLhsl(255, 64%, 56%)
HSVhsv(255, 67%, 84%)
CMYKcmyk(50.9%, 67.3%, 0%, 16.1%)
CIE-LABlab(41.59, 49.90, -69.03)
CIE-LCHlch(41.59, 85.17, 305.86°)
OKLaboklab(51.81% 0.0644 -0.1981)
OKLCHoklch(51.81% 0.208 288)
XYZxyz(20.1499, 12.2377, 64.9057)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946D6 #B3D646
analogous
#466BD6 #6946D6 #B146D6
triadic
#6946D6 #D66946 #46D669
tetradic
#6946D6 #D6466B #B3D646 #46D6B1
square
#6946D6 #D6466B #B3D646 #46D6B1
split-complementary
#6946D6 #D6B146 #6BD646
monochromatic
#361D84 #4B28B6 #6946D6 #9278E1 #BAAAEC

Accessibility & contrast

On white

6.09
#6946D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6946D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946D6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946D6#FFFFFF#000000##FFFFFF
##6946D61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#416A88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6946d6;
/* rgb */ color: rgb(105, 70, 214);
/* oklch */ color: oklch(51.8% 0.208 288.0);
Tailwind
colors: {
  custom: {
    50: '#9d7ce4',
    500: '#6946d6',
    950: '#000000',
  },
}
SCSS
$custom: #6946d6;
$custom-light: #9d7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#6946d6",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 254.583,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51811,
    "c": 0.20834,
    "h": 288
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#6946D6
secondary
#CBDA9E
accent
#E741BE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6946D6

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

Preview Lab → · Contrast checker → · Palette generator →

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