#6945AE#6945AE

#6945AE is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.161 H 295.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6945AE
RGBrgb(105, 69, 174)
HSLhsl(261, 43%, 48%)
HSVhsv(261, 60%, 68%)
CMYKcmyk(39.7%, 60.3%, 0%, 31.8%)
CIE-LABlab(38.40, 39.22, -50.87)
CIE-LCHlch(38.40, 64.23, 307.63°)
OKLaboklab(48.57% 0.0694 -0.1447)
OKLCHoklch(48.57% 0.161 295.6)
XYZxyz(15.5918, 10.3152, 41.2057)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945AE #8AAE45
analogous
#4556AE #6945AE #9D45AE
triadic
#6945AE #AE6945 #45AE69
tetradic
#6945AE #AE4556 #8AAE45 #45AE9D
square
#6945AE #AE4556 #8AAE45 #45AE9D
split-complementary
#6945AE #AE9D45 #56AE45
monochromatic
#342256 #4F3482 #6945AE #8A6CC5 #AD97D6

Accessibility & contrast

On white

6.86
#6945AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6945AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945AE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945AE#FFFFFF#000000##FFFFFF
##6945AE1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#1359AC
Tritanopia (blue-blind)
#585C73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6945ae;
/* rgb */ color: rgb(105, 69, 174);
/* oklch */ color: oklch(48.6% 0.161 295.6);
Tailwind
colors: {
  custom: {
    50: '#997ac7',
    500: '#6945ae',
    950: '#000000',
  },
}
SCSS
$custom: #6945ae;
$custom-light: #997ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6945ae",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 260.571,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48565,
    "c": 0.16052,
    "h": 295.6
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#6945AE
secondary
#B0C28D
accent
#D355A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6945AE

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

Preview Lab → · Contrast checker → · Palette generator →

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