#6947CA#6947CA

#6947CA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.193 H 289.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6947CA
RGBrgb(105, 71, 202)
HSLhsl(256, 55%, 54%)
HSVhsv(256, 65%, 79%)
CMYKcmyk(48%, 64.9%, 0%, 20.8%)
CIE-LABlab(40.85, 45.94, -63.31)
CIE-LCHlch(40.85, 78.22, 305.97°)
OKLaboklab(50.99% 0.0651 -0.1813)
OKLCHoklch(50.99% 0.193 289.7)
XYZxyz(18.7366, 11.7733, 57.1509)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947CA #A8CA47
analogous
#4766CA #6947CA #AB47CA
triadic
#6947CA #CA6947 #47CA69
tetradic
#6947CA #CA4766 #A8CA47 #47CAAB
square
#6947CA #CA4766 #A8CA47 #47CAAB
split-complementary
#6947CA #CAAB47 #66CA47
monochromatic
#372275 #4E2FA4 #6947CA #9077D8 #B6A6E5

Accessibility & contrast

On white

6.26
#6947CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6947CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947CA#FFFFFF#000000##FFFFFF
##6947CA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#496782
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6947ca;
/* rgb */ color: rgb(105, 71, 202);
/* oklch */ color: oklch(51.0% 0.193 289.7);
Tailwind
colors: {
  custom: {
    50: '#9c7cdb',
    500: '#6947ca',
    950: '#000000',
  },
}
SCSS
$custom: #6947ca;
$custom-light: #9c7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6947ca",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 255.573,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50987,
    "c": 0.19264,
    "h": 289.7
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#6947CA
secondary
#C4D29A
accent
#DF49B8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6947CA

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

Preview Lab → · Contrast checker → · Palette generator →

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