#6947CB#6947CB

#6947CB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.194 H 289.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6947CB
RGBrgb(105, 71, 203)
HSLhsl(255, 56%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(48.3%, 65%, 0%, 20.4%)
CIE-LABlab(40.93, 46.22, -63.76)
CIE-LCHlch(40.93, 78.75, 305.94°)
OKLaboklab(51.07% 0.0649 -0.1827)
OKLCHoklch(51.07% 0.194 289.6)
XYZxyz(18.8553, 11.8208, 57.7765)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947CB #A9CB47
analogous
#4767CB #6947CB #AB47CB
triadic
#6947CB #CB6947 #47CB69
tetradic
#6947CB #CB4767 #A9CB47 #47CBAB
square
#6947CB #CB4767 #A9CB47 #47CBAB
split-complementary
#6947CB #CBAB47 #67CB47
monochromatic
#372176 #4E2FA6 #6947CB #9077D8 #B7A6E6

Accessibility & contrast

On white

6.24
#6947CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6947CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947CB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947CB#FFFFFF#000000##FFFFFF
##6947CB1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#496783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6947cb;
/* rgb */ color: rgb(105, 71, 203);
/* oklch */ color: oklch(51.1% 0.194 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c7cdc',
    500: '#6947cb',
    950: '#000000',
  },
}
SCSS
$custom: #6947cb;
$custom-light: #9c7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6947cb",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 255.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.19386,
    "h": 289.6
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#6947CB
secondary
#C5D39B
accent
#DF49B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6947CB

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

Preview Lab → · Contrast checker → · Palette generator →

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