#6945CD#6945CD

#6945CD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.199 H 289.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6945CD
RGBrgb(105, 69, 205)
HSLhsl(256, 58%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48.8%, 66.3%, 0%, 19.6%)
CIE-LABlab(40.68, 47.89, -65.32)
CIE-LCHlch(40.68, 81.00, 306.24°)
OKLaboklab(50.93% 0.0667 -0.1872)
OKLCHoklch(50.93% 0.199 289.6)
XYZxyz(18.9701, 11.6665, 58.9981)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945CD #A9CD45
analogous
#4565CD #6945CD #AD45CD
triadic
#6945CD #CD6945 #45CD69
tetradic
#6945CD #CD4565 #A9CD45 #45CDAD
square
#6945CD #CD4565 #A9CD45 #45CDAD
split-complementary
#6945CD #CDAD45 #65CD45
monochromatic
#372077 #4E2DA8 #6945CD #9075DA #B7A5E7

Accessibility & contrast

On white

6.30
#6945CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6945CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945CD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945CD#FFFFFF#000000##FFFFFF
##6945CD1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#476783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6945cd;
/* rgb */ color: rgb(105, 69, 205);
/* oklch */ color: oklch(50.9% 0.199 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c7bdd',
    500: '#6945cd',
    950: '#000000',
  },
}
SCSS
$custom: #6945cd;
$custom-light: #9c7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6945cd",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 255.882,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.19876,
    "h": 289.6
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#6945CD
secondary
#C5D49A
accent
#E147B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6945CD

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

Preview Lab → · Contrast checker → · Palette generator →

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