#6945A5#6945A5

#6945A5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.149 H 297.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6945A5
RGBrgb(105, 69, 165)
HSLhsl(263, 41%, 46%)
HSVhsv(263, 58%, 65%)
CMYKcmyk(36.4%, 58.2%, 0%, 35.3%)
CIE-LABlab(37.80, 36.76, -46.48)
CIE-LCHlch(37.80, 59.26, 308.34°)
OKLaboklab(47.93% 0.0696 -0.1318)
OKLCHoklch(47.93% 0.149 297.8)
XYZxyz(14.7437, 9.9759, 36.7388)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945A5 #81A545
analogous
#4551A5 #6945A5 #9945A5
triadic
#6945A5 #A56945 #45A569
tetradic
#6945A5 #A54551 #81A545 #45A599
square
#6945A5 #A54551 #81A545 #45A599
split-complementary
#6945A5 #A59945 #51A545
monochromatic
#32214F #4E337A #6945A5 #8968C0 #AA93D2

Accessibility & contrast

On white

7.01
#6945A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6945A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945A5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945A5#FFFFFF#000000##FFFFFF
##6945A51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A8
Deuteranopia (green-blind)
#2458A3
Tritanopia (blue-blind)
#5B596E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6945a5;
/* rgb */ color: rgb(105, 69, 165);
/* oklch */ color: oklch(47.9% 0.149 297.8);
Tailwind
colors: {
  custom: {
    50: '#987ac0',
    500: '#6945a5',
    950: '#000000',
  },
}
SCSS
$custom: #6945a5;
$custom-light: #987ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#6945a5",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 262.5,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4793,
    "c": 0.14907,
    "h": 297.8
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#6945A5
secondary
#AABD88
accent
#D157A3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6945A5

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

Preview Lab → · Contrast checker → · Palette generator →

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