#6947DA#6947DA

#6947DA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.212 H 287.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6947DA
RGBrgb(105, 71, 218)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 67%, 85%)
CMYKcmyk(51.8%, 67.4%, 0%, 14.5%)
CIE-LABlab(42.11, 50.50, -70.47)
CIE-LCHlch(42.11, 86.70, 305.63°)
OKLaboklab(52.28% 0.0629 -0.2024)
OKLCHoklch(52.28% 0.212 287.3)
XYZxyz(20.7301, 12.5707, 67.6501)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947DA #B8DA47
analogous
#476EDA #6947DA #B347DA
triadic
#6947DA #DA6947 #47DA69
tetradic
#6947DA #DA476E #B8DA47 #47DAB3
square
#6947DA #DA476E #B8DA47 #47DAB3
split-complementary
#6947DA #DAB347 #6EDA47
monochromatic
#361C8B #4926BE #6947DA #937AE4 #BCADEE

Accessibility & contrast

On white

5.98
#6947DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6947DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947DA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947DA#FFFFFF#000000##FFFFFF
##6947DA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#3D6C8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6947da;
/* rgb */ color: rgb(105, 71, 218);
/* oklch */ color: oklch(52.3% 0.212 287.3);
Tailwind
colors: {
  custom: {
    50: '#9e7de7',
    500: '#6947da',
    950: '#000000',
  },
}
SCSS
$custom: #6947da;
$custom-light: #9e7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6947da",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 253.878,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.21193,
    "h": 287.3
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#6947DA
secondary
#CFDCA0
accent
#E93EC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6947DA

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

Preview Lab → · Contrast checker → · Palette generator →

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