#6945D2#6945D2

#6945D2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.205 H 288.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6945D2
RGBrgb(105, 69, 210)
HSLhsl(255, 61%, 55%)
HSVhsv(255, 67%, 82%)
CMYKcmyk(50%, 67.1%, 0%, 17.6%)
CIE-LABlab(41.08, 49.30, -67.57)
CIE-LCHlch(41.08, 83.64, 306.12°)
OKLaboklab(51.34% 0.066 -0.1938)
OKLCHoklch(51.34% 0.205 288.8)
XYZxyz(19.5833, 11.9118, 62.2276)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945D2 #AED245
analogous
#4568D2 #6945D2 #AF45D2
triadic
#6945D2 #D26945 #45D269
tetradic
#6945D2 #D24568 #AED245 #45D2AF
square
#6945D2 #D24568 #AED245 #45D2AF
split-complementary
#6945D2 #D2AF45 #68D245
monochromatic
#371F7E #4C2AAF #6945D2 #9176DE #B8A8EA

Accessibility & contrast

On white

6.21
#6945D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6945D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945D2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945D2#FFFFFF#000000##FFFFFF
##6945D21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#446886
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6945d2;
/* rgb */ color: rgb(105, 69, 210);
/* oklch */ color: oklch(51.3% 0.205 288.8);
Tailwind
colors: {
  custom: {
    50: '#9d7be1',
    500: '#6945d2',
    950: '#000000',
  },
}
SCSS
$custom: #6945d2;
$custom-light: #9d7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6945d2",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 255.319,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.20475,
    "h": 288.8
  },
  "luminance": 0.11913
}

Semantic roles & 50–950 ramp

primary
#6945D2
secondary
#C8D79C
accent
#E444BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6945D2

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

Preview Lab → · Contrast checker → · Palette generator →

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