#6946CE#6946CE

#6946CE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.199 H 289.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6946CE
RGBrgb(105, 70, 206)
HSLhsl(255, 58%, 54%)
HSVhsv(255, 66%, 81%)
CMYKcmyk(49%, 66%, 0%, 19.2%)
CIE-LABlab(40.96, 47.62, -65.45)
CIE-LCHlch(40.96, 80.94, 306.04°)
OKLaboklab(51.16% 0.0656 -0.1876)
OKLCHoklch(51.16% 0.199 289.3)
XYZxyz(19.1532, 11.8390, 59.6565)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946CE #ABCE46
analogous
#4667CE #6946CE #AD46CE
triadic
#6946CE #CE6946 #46CE69
tetradic
#6946CE #CE4667 #ABCE46 #46CEAD
square
#6946CE #CE4667 #ABCE46 #46CEAD
split-complementary
#6946CE #CEAD46 #67CE46
monochromatic
#372079 #4D2DAA #6946CE #9076DB #B7A7E8

Accessibility & contrast

On white

6.24
#6946CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6946CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946CE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946CE#FFFFFF#000000##FFFFFF
##6946CE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#476884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6946ce;
/* rgb */ color: rgb(105, 70, 206);
/* oklch */ color: oklch(51.2% 0.199 289.3);
Tailwind
colors: {
  custom: {
    50: '#9c7cde',
    500: '#6946ce',
    950: '#000000',
  },
}
SCSS
$custom: #6946ce;
$custom-light: #9c7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6946ce",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 255.441,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.19874,
    "h": 289.3
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#6946CE
secondary
#C6D59B
accent
#E146B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6946CE

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

Preview Lab → · Contrast checker → · Palette generator →

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