#6945BB#6945BB

#6945BB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.177 H 292.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6945BB
RGBrgb(105, 69, 187)
HSLhsl(258, 46%, 50%)
HSVhsv(258, 63%, 73%)
CMYKcmyk(43.9%, 63.1%, 0%, 26.7%)
CIE-LABlab(39.32, 42.82, -57.05)
CIE-LCHlch(39.32, 71.33, 306.89°)
OKLaboklab(49.53% 0.0686 -0.1629)
OKLCHoklch(49.53% 0.177 292.8)
XYZxyz(16.9210, 10.8469, 48.2062)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945BB #97BB45
analogous
#455CBB #6945BB #A445BB
triadic
#6945BB #BB6945 #45BB69
tetradic
#6945BB #BB455C #97BB45 #45BBA4
square
#6945BB #BB455C #97BB45 #45BBA4
split-complementary
#6945BB #BBA445 #5CBB45
monochromatic
#372462 #50348F #6945BB #8D72CB #B19FDC

Accessibility & contrast

On white

6.63
#6945BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6945BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945BB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945BB#FFFFFF#000000##FFFFFF
##6945BB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#526079
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6945bb;
/* rgb */ color: rgb(105, 69, 187);
/* oklch */ color: oklch(49.5% 0.177 292.8);
Tailwind
colors: {
  custom: {
    50: '#9a7ad0',
    500: '#6945bb',
    950: '#000000',
  },
}
SCSS
$custom: #6945bb;
$custom-light: #9a7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6945bb",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 258.305,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.17679,
    "h": 292.8
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#6945BB
secondary
#B8C894
accent
#D652AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6945BB

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

Preview Lab → · Contrast checker → · Palette generator →

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