#6947C8#6947C8

#6947C8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.190 H 290.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6947C8
RGBrgb(105, 71, 200)
HSLhsl(256, 54%, 53%)
HSVhsv(256, 65%, 78%)
CMYKcmyk(47.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(40.70, 45.37, -62.40)
CIE-LCHlch(40.70, 77.15, 306.02°)
OKLaboklab(50.83% 0.0653 -0.1786)
OKLCHoklch(50.83% 0.19 290.1)
XYZxyz(18.5013, 11.6791, 55.9119)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947C8 #A6C847
analogous
#4765C8 #6947C8 #A947C8
triadic
#6947C8 #C86947 #47C869
tetradic
#6947C8 #C84765 #A6C847 #47C8A9
square
#6947C8 #C84765 #A6C847 #47C8A9
split-complementary
#6947C8 #C8A947 #65C847
monochromatic
#372272 #4E30A2 #6947C8 #8F76D6 #B6A5E4

Accessibility & contrast

On white

6.29
#6947C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6947C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947C8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947C8#FFFFFF#000000##FFFFFF
##6947C81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#4A6681
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6947c8;
/* rgb */ color: rgb(105, 71, 200);
/* oklch */ color: oklch(50.8% 0.190 290.1);
Tailwind
colors: {
  custom: {
    50: '#9b7cda',
    500: '#6947c8',
    950: '#000000',
  },
}
SCSS
$custom: #6947c8;
$custom-light: #9b7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6947c8",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 255.814,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.19019,
    "h": 290.1
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#6947C8
secondary
#C3D19A
accent
#DD4AB7
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6947C8

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

Preview Lab → · Contrast checker → · Palette generator →

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