#6947D8#6947D8

#6947D8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.1% C 0.210 H 287.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6947D8
RGBrgb(105, 71, 216)
HSLhsl(254, 65%, 56%)
HSVhsv(254, 67%, 85%)
CMYKcmyk(51.4%, 67.1%, 0%, 15.3%)
CIE-LABlab(41.95, 49.93, -69.59)
CIE-LCHlch(41.95, 85.65, 305.66°)
OKLaboklab(52.12% 0.0632 -0.1998)
OKLCHoklch(52.12% 0.21 287.6)
XYZxyz(20.4700, 12.4666, 66.2801)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947D8 #B6D847
analogous
#476ED8 #6947D8 #B247D8
triadic
#6947D8 #D86947 #47D869
tetradic
#6947D8 #D8476E #B6D847 #47D8B2
square
#6947D8 #D8476E #B6D847 #47D8B2
split-complementary
#6947D8 #D8B247 #6ED847
monochromatic
#361D88 #4A27BA #6947D8 #9279E3 #BBACED

Accessibility & contrast

On white

6.01
#6947D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6947D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947D8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947D8#FFFFFF#000000##FFFFFF
##6947D81.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#3F6C8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6947d8;
/* rgb */ color: rgb(105, 71, 216);
/* oklch */ color: oklch(52.1% 0.210 287.6);
Tailwind
colors: {
  custom: {
    50: '#9d7de5',
    500: '#6947d8',
    950: '#000000',
  },
}
SCSS
$custom: #6947d8;
$custom-light: #9d7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6947d8",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 254.069,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.20955,
    "h": 287.6
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#6947D8
secondary
#CDDBA0
accent
#E840C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6947D8

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

Preview Lab → · Contrast checker → · Palette generator →

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