#6945BE#6945BE

#6945BE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.180 H 292.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6945BE
RGBrgb(105, 69, 190)
HSLhsl(258, 48%, 51%)
HSVhsv(258, 64%, 75%)
CMYKcmyk(44.7%, 63.7%, 0%, 25.5%)
CIE-LABlab(39.54, 43.66, -58.45)
CIE-LCHlch(39.54, 72.96, 306.76°)
OKLaboklab(49.75% 0.0684 -0.167)
OKLCHoklch(49.75% 0.18 292.3)
XYZxyz(17.2455, 10.9767, 49.9153)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945BE #9ABE45
analogous
#455DBE #6945BE #A545BE
triadic
#6945BE #BE6945 #45BE69
tetradic
#6945BE #BE455D #9ABE45 #45BEA5
square
#6945BE #BE455D #9ABE45 #45BEA5
split-complementary
#6945BE #BEA545 #5DBE45
monochromatic
#372365 #503393 #6945BE #8E72CE #B2A0DE

Accessibility & contrast

On white

6.57
#6945BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6945BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945BE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945BE#FFFFFF#000000##FFFFFF
##6945BE1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#50617B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6945be;
/* rgb */ color: rgb(105, 69, 190);
/* oklch */ color: oklch(49.8% 0.180 292.3);
Tailwind
colors: {
  custom: {
    50: '#9a7bd2',
    500: '#6945be',
    950: '#000000',
  },
}
SCSS
$custom: #6945be;
$custom-light: #9a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6945be",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 257.851,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.18049,
    "h": 292.3
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#6945BE
secondary
#BACA95
accent
#D850AF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6945BE

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

Preview Lab → · Contrast checker → · Palette generator →

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