#6946C8#6946C8

#6946C8 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.191 H 290.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6946C8
RGBrgb(105, 70, 200)
HSLhsl(256, 54%, 53%)
HSVhsv(256, 65%, 78%)
CMYKcmyk(47.5%, 65%, 0%, 21.6%)
CIE-LABlab(40.50, 45.92, -62.73)
CIE-LCHlch(40.50, 77.74, 306.21°)
OKLaboklab(50.68% 0.0663 -0.1796)
OKLCHoklch(50.68% 0.191 290.3)
XYZxyz(18.4382, 11.5530, 55.8908)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946C8 #A5C846
analogous
#4664C8 #6946C8 #AA46C8
triadic
#6946C8 #C86946 #46C869
tetradic
#6946C8 #C84664 #A5C846 #46C8AA
square
#6946C8 #C84664 #A5C846 #46C8AA
split-complementary
#6946C8 #C8AA46 #64C846
monochromatic
#372272 #4E30A1 #6946C8 #8F75D6 #B5A4E4

Accessibility & contrast

On white

6.34
#6946C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6946C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946C8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946C8#FFFFFF#000000##FFFFFF
##6946C81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#4A6581
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6946c8;
/* rgb */ color: rgb(105, 70, 200);
/* oklch */ color: oklch(50.7% 0.191 290.3);
Tailwind
colors: {
  custom: {
    50: '#9b7bda',
    500: '#6946c8',
    950: '#000000',
  },
}
SCSS
$custom: #6946c8;
$custom-light: #9b7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6946c8",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 256.154,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.19147,
    "h": 290.3
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#6946C8
secondary
#C2D199
accent
#DE4AB6
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6946C8

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

Preview Lab → · Contrast checker → · Palette generator →

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