#6947DB#6947DB

#6947DB is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.213 H 287.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6947DB
RGBrgb(105, 71, 219)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 68%, 86%)
CMYKcmyk(52.1%, 67.6%, 0%, 14.1%)
CIE-LABlab(42.19, 50.79, -70.91)
CIE-LCHlch(42.19, 87.22, 305.61°)
OKLaboklab(52.36% 0.0628 -0.2037)
OKLCHoklch(52.36% 0.213 287.1)
XYZxyz(20.8613, 12.6232, 68.3414)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947DB #B9DB47
analogous
#476FDB #6947DB #B347DB
triadic
#6947DB #DB6947 #47DB69
tetradic
#6947DB #DB476F #B9DB47 #47DBB3
square
#6947DB #DB476F #B9DB47 #47DBB3
split-complementary
#6947DB #DBB347 #6FDB47
monochromatic
#351B8C #4925BF #6947DB #937AE5 #BCADEF

Accessibility & contrast

On white

5.96
#6947DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6947DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947DB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947DB#FFFFFF#000000##FFFFFF
##6947DB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#3C6D8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6947db;
/* rgb */ color: rgb(105, 71, 219);
/* oklch */ color: oklch(52.4% 0.213 287.1);
Tailwind
colors: {
  custom: {
    50: '#9e7de7',
    500: '#6947db',
    950: '#000000',
  },
}
SCSS
$custom: #6947db;
$custom-light: #9e7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6947db",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 253.784,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.21312,
    "h": 287.1
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#6947DB
secondary
#CFDDA1
accent
#EA3EC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6947DB

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

Preview Lab → · Contrast checker → · Palette generator →

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