#6947CD#6947CD

#6947CD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.196 H 289.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6947CD
RGBrgb(105, 71, 205)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(48.8%, 65.4%, 0%, 19.6%)
CIE-LABlab(41.08, 46.79, -64.67)
CIE-LCHlch(41.08, 79.82, 305.89°)
OKLaboklab(51.23% 0.0647 -0.1853)
OKLCHoklch(51.23% 0.196 289.2)
XYZxyz(19.0952, 11.9167, 59.0398)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947CD #ABCD47
analogous
#4768CD #6947CD #AC47CD
triadic
#6947CD #CD6947 #47CD69
tetradic
#6947CD #CD4768 #ABCD47 #47CDAC
square
#6947CD #CD4768 #ABCD47 #47CDAC
split-complementary
#6947CD #CDAC47 #68CD47
monochromatic
#372179 #4D2EA9 #6947CD #9077DA #B7A7E7

Accessibility & contrast

On white

6.21
#6947CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6947CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947CD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947CD#FFFFFF#000000##FFFFFF
##6947CD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6947cd;
/* rgb */ color: rgb(105, 71, 205);
/* oklch */ color: oklch(51.2% 0.196 289.2);
Tailwind
colors: {
  custom: {
    50: '#9c7cdd',
    500: '#6947cd',
    950: '#000000',
  },
}
SCSS
$custom: #6947cd;
$custom-light: #9c7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6947cd",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 255.224,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.19629,
    "h": 289.2
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6947CD

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

Preview Lab → · Contrast checker → · Palette generator →

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