#6946CD#6946CD

#6946CD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.198 H 289.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6946CD
RGBrgb(105, 70, 205)
HSLhsl(256, 57%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48.8%, 65.9%, 0%, 19.6%)
CIE-LABlab(40.88, 47.34, -65.00)
CIE-LCHlch(40.88, 80.41, 306.07°)
OKLaboklab(51.08% 0.0657 -0.1863)
OKLCHoklch(51.08% 0.198 289.4)
XYZxyz(19.0321, 11.7906, 59.0188)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946CD #AACD46
analogous
#4667CD #6946CD #AD46CD
triadic
#6946CD #CD6946 #46CD69
tetradic
#6946CD #CD4667 #AACD46 #46CDAD
square
#6946CD #CD4667 #AACD46 #46CDAD
split-complementary
#6946CD #CDAD46 #67CD46
monochromatic
#372078 #4D2DA8 #6946CD #9076DA #B7A6E7

Accessibility & contrast

On white

6.25
#6946CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6946CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946CD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946CD#FFFFFF#000000##FFFFFF
##6946CD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#476783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6946cd;
/* rgb */ color: rgb(105, 70, 205);
/* oklch */ color: oklch(51.1% 0.198 289.4);
Tailwind
colors: {
  custom: {
    50: '#9c7cdd',
    500: '#6946cd',
    950: '#000000',
  },
}
SCSS
$custom: #6946cd;
$custom-light: #9c7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6946cd",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 255.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.19754,
    "h": 289.4
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#6946CD
secondary
#C5D49B
accent
#E147B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6946CD

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

Preview Lab → · Contrast checker → · Palette generator →

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