#6945B7#6945B7

#6945B7 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.2% C 0.172 H 293.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6945B7
RGBrgb(105, 69, 183)
HSLhsl(259, 45%, 49%)
HSVhsv(259, 62%, 72%)
CMYKcmyk(42.6%, 62.3%, 0%, 28.2%)
CIE-LABlab(39.03, 41.71, -55.17)
CIE-LCHlch(39.03, 69.16, 307.09°)
OKLaboklab(49.22% 0.0689 -0.1574)
OKLCHoklch(49.22% 0.172 293.7)
XYZxyz(16.4988, 10.6780, 45.9823)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945B7 #93B745
analogous
#455AB7 #6945B7 #A245B7
triadic
#6945B7 #B76945 #45B769
tetradic
#6945B7 #B7455A #93B745 #45B7A2
square
#6945B7 #B7455A #93B745 #45B7A2
split-complementary
#6945B7 #B7A245 #5AB745
monochromatic
#36235E #50348B #6945B7 #8C70C9 #B09DDA

Accessibility & contrast

On white

6.70
#6945B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6945B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945B7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945B7#FFFFFF#000000##FFFFFF
##6945B71.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#545F77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6945b7;
/* rgb */ color: rgb(105, 69, 183);
/* oklch */ color: oklch(49.2% 0.172 293.7);
Tailwind
colors: {
  custom: {
    50: '#997acd',
    500: '#6945b7',
    950: '#000000',
  },
}
SCSS
$custom: #6945b7;
$custom-light: #997acd;
$custom-dark: #000000;
JSON
{
  "hex": "#6945b7",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 258.947,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49224,
    "c": 0.17182,
    "h": 293.7
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#6945B7
secondary
#B6C692
accent
#D553AC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6945B7

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

Preview Lab → · Contrast checker → · Palette generator →

#6945B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva