#6947CE#6947CE

#6947CE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.198 H 289.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6947CE
RGBrgb(105, 71, 206)
HSLhsl(255, 58%, 54%)
HSVhsv(255, 66%, 81%)
CMYKcmyk(49%, 65.5%, 0%, 19.2%)
CIE-LABlab(41.16, 47.08, -65.12)
CIE-LCHlch(41.16, 80.36, 305.86°)
OKLaboklab(51.31% 0.0646 -0.1866)
OKLCHoklch(51.31% 0.198 289.1)
XYZxyz(19.2163, 11.9652, 59.6775)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947CE #ACCE47
analogous
#4769CE #6947CE #AD47CE
triadic
#6947CE #CE6947 #47CE69
tetradic
#6947CE #CE4769 #ACCE47 #47CEAD
square
#6947CE #CE4769 #ACCE47 #47CEAD
split-complementary
#6947CE #CEAD47 #69CE47
monochromatic
#37217A #4D2DAA #6947CE #9077DB #B8A8E8

Accessibility & contrast

On white

6.19
#6947CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6947CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947CE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947CE#FFFFFF#000000##FFFFFF
##6947CE1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6947ce;
/* rgb */ color: rgb(105, 71, 206);
/* oklch */ color: oklch(51.3% 0.198 289.1);
Tailwind
colors: {
  custom: {
    50: '#9c7cde',
    500: '#6947ce',
    950: '#000000',
  },
}
SCSS
$custom: #6947ce;
$custom-light: #9c7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6947ce",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 255.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.19751,
    "h": 289.1
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#6947CE
secondary
#C7D59C
accent
#E147BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6947CE

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

Preview Lab → · Contrast checker → · Palette generator →

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