#6945AC#6945AC

#6945AC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.4% C 0.158 H 296.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6945AC
RGBrgb(105, 69, 172)
HSLhsl(261, 43%, 47%)
HSVhsv(261, 60%, 67%)
CMYKcmyk(39%, 59.9%, 0%, 32.5%)
CIE-LABlab(38.27, 38.67, -49.90)
CIE-LCHlch(38.27, 63.13, 307.77°)
OKLaboklab(48.42% 0.0695 -0.1419)
OKLCHoklch(48.42% 0.158 296.1)
XYZxyz(15.3983, 10.2378, 40.1865)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945AC #88AC45
analogous
#4554AC #6945AC #9D45AC
triadic
#6945AC #AC6945 #45AC69
tetradic
#6945AC #AC4554 #88AC45 #45AC9D
square
#6945AC #AC4554 #88AC45 #45AC9D
split-complementary
#6945AC #AC9D45 #54AC45
monochromatic
#342255 #4E3380 #6945AC #8A6BC4 #AC96D5

Accessibility & contrast

On white

6.89
#6945AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6945AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945AC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945AC#FFFFFF#000000##FFFFFF
##6945AC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#1859AA
Tritanopia (blue-blind)
#595B72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6945ac;
/* rgb */ color: rgb(105, 69, 172);
/* oklch */ color: oklch(48.4% 0.158 296.1);
Tailwind
colors: {
  custom: {
    50: '#987ac5',
    500: '#6945ac',
    950: '#000000',
  },
}
SCSS
$custom: #6945ac;
$custom-light: #987ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6945ac",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 260.971,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.15798,
    "h": 296.1
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#6945AC
secondary
#AEC18C
accent
#D355A7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6945AC

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

Preview Lab → · Contrast checker → · Palette generator →

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