#6940A3#6940A3

#6940A3 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.0% C 0.154 H 299.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6940A3
RGBrgb(105, 64, 163)
HSLhsl(265, 44%, 45%)
HSVhsv(265, 61%, 64%)
CMYKcmyk(35.6%, 60.7%, 0%, 36.1%)
CIE-LABlab(36.58, 39.09, -47.24)
CIE-LCHlch(36.58, 61.31, 309.61°)
OKLaboklab(47% 0.0759 -0.1341)
OKLCHoklch(47% 0.154 299.5)
XYZxyz(14.2683, 9.3143, 35.6893)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6940A3 #7AA340
analogous
#4049A3 #6940A3 #9A40A3
triadic
#6940A3 #A36940 #40A369
tetradic
#6940A3 #A34049 #7AA340 #40A39A
square
#6940A3 #A34049 #7AA340 #40A39A
split-complementary
#6940A3 #A39A40 #49A340
monochromatic
#301D4B #4D2F77 #6940A3 #8860C0 #A98CD2

Accessibility & contrast

On white

7.34
#6940A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6940A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6940A3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6940A3#FFFFFF#000000##FFFFFF
##6940A31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0156A6
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#5C556B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6940a3;
/* rgb */ color: rgb(105, 64, 163);
/* oklch */ color: oklch(47.0% 0.154 299.5);
Tailwind
colors: {
  custom: {
    50: '#9877bf',
    500: '#6940a3',
    950: '#000000',
  },
}
SCSS
$custom: #6940a3;
$custom-light: #9877bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6940a3",
  "rgb": {
    "r": 105,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 264.848,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.15406,
    "h": 299.5
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#6940A3
secondary
#A4BD82
accent
#D3549F
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6940A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6940A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva