#6947DC#6947DC

#6947DC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.214 H 287.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6947DC
RGBrgb(105, 71, 220)
HSLhsl(254, 68%, 57%)
HSVhsv(254, 68%, 86%)
CMYKcmyk(52.3%, 67.7%, 0%, 13.7%)
CIE-LABlab(42.27, 51.07, -71.35)
CIE-LCHlch(42.27, 87.75, 305.59°)
OKLaboklab(52.45% 0.0626 -0.2049)
OKLCHoklch(52.45% 0.214 287)
XYZxyz(20.9934, 12.6760, 69.0368)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947DC #BADC47
analogous
#4770DC #6947DC #B347DC
triadic
#6947DC #DC6947 #47DC69
tetradic
#6947DC #DC4770 #BADC47 #47DCB3
square
#6947DC #DC4770 #BADC47 #47DCB3
split-complementary
#6947DC #DCB347 #70DC47
monochromatic
#351B8E #4825C1 #6947DC #937AE6 #BDAEF0

Accessibility & contrast

On white

5.94
#6947DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6947DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947DC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947DC#FFFFFF#000000##FFFFFF
##6947DC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#3C6D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6947dc;
/* rgb */ color: rgb(105, 71, 220);
/* oklch */ color: oklch(52.4% 0.214 287.0);
Tailwind
colors: {
  custom: {
    50: '#9e7de8',
    500: '#6947dc',
    950: '#000000',
  },
}
SCSS
$custom: #6947dc;
$custom-light: #9e7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6947dc",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 253.691,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.2143,
    "h": 287
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#6947DC
secondary
#D0DEA1
accent
#EB3DC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6947DC

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

Preview Lab → · Contrast checker → · Palette generator →

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