#6945CC#6945CC

#6945CC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.198 H 289.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6945CC
RGBrgb(105, 69, 204)
HSLhsl(256, 57%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48.5%, 66.2%, 0%, 20%)
CIE-LABlab(40.60, 47.60, -64.87)
CIE-LCHlch(40.60, 80.46, 306.27°)
OKLaboklab(50.85% 0.0668 -0.1859)
OKLCHoklch(50.85% 0.198 289.8)
XYZxyz(18.8498, 11.6184, 58.3644)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945CC #A8CC45
analogous
#4564CC #6945CC #AC45CC
triadic
#6945CC #CC6945 #45CC69
tetradic
#6945CC #CC4564 #A8CC45 #45CCAC
square
#6945CC #CC4564 #A8CC45 #45CCAC
split-complementary
#6945CC #CCAC45 #64CC45
monochromatic
#372076 #4E2EA6 #6945CC #9075D9 #B6A5E6

Accessibility & contrast

On white

6.32
#6945CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6945CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945CC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945CC#FFFFFF#000000##FFFFFF
##6945CC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#486683
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6945cc;
/* rgb */ color: rgb(105, 69, 204);
/* oklch */ color: oklch(50.9% 0.198 289.8);
Tailwind
colors: {
  custom: {
    50: '#9c7bdc',
    500: '#6945cc',
    950: '#000000',
  },
}
SCSS
$custom: #6945cc;
$custom-light: #9c7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6945cc",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 256,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.19756,
    "h": 289.8
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#6945CC
secondary
#C4D399
accent
#E048B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6945CC

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

Preview Lab → · Contrast checker → · Palette generator →

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