#6946DB#6946DB

#6946DB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.214 H 287.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6946DB
RGBrgb(105, 70, 219)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 68%, 86%)
CMYKcmyk(52.1%, 68%, 0%, 14.1%)
CIE-LABlab(42.00, 51.32, -71.23)
CIE-LCHlch(42.00, 87.79, 305.77°)
OKLaboklab(52.23% 0.0637 -0.2046)
OKLCHoklch(52.23% 0.214 287.3)
XYZxyz(20.7983, 12.4970, 68.3204)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946DB #B8DB46
analogous
#466EDB #6946DB #B446DB
triadic
#6946DB #DB6946 #46DB69
tetradic
#6946DB #DB466E #B8DB46 #46DBB4
square
#6946DB #DB466E #B8DB46 #46DBB4
split-complementary
#6946DB #DBB446 #6EDB46
monochromatic
#361B8B #4925BF #6946DB #9379E5 #BCACEF

Accessibility & contrast

On white

6.00
#6946DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6946DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946DB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946DB#FFFFFF#000000##FFFFFF
##6946DB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#3D6C8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6946db;
/* rgb */ color: rgb(105, 70, 219);
/* oklch */ color: oklch(52.2% 0.214 287.3);
Tailwind
colors: {
  custom: {
    50: '#9e7ce7',
    500: '#6946db',
    950: '#000000',
  },
}
SCSS
$custom: #6946db;
$custom-light: #9e7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6946db",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 254.094,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.21427,
    "h": 287.3
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#6946DB
secondary
#CFDDA0
accent
#EA3DC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6946DB

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

Preview Lab → · Contrast checker → · Palette generator →

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