#6945AF#6945AF

#6945AF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.6% C 0.162 H 295.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6945AF
RGBrgb(105, 69, 175)
HSLhsl(260, 43%, 48%)
HSVhsv(260, 61%, 69%)
CMYKcmyk(40%, 60.6%, 0%, 31.4%)
CIE-LABlab(38.47, 39.49, -51.35)
CIE-LCHlch(38.47, 64.78, 307.56°)
OKLaboklab(48.64% 0.0694 -0.1461)
OKLCHoklch(48.64% 0.162 295.4)
XYZxyz(15.6897, 10.3543, 41.7211)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945AF #8BAF45
analogous
#4556AF #6945AF #9E45AF
triadic
#6945AF #AF6945 #45AF69
tetradic
#6945AF #AF4556 #8BAF45 #45AF9E
square
#6945AF #AF4556 #8BAF45 #45AF9E
split-complementary
#6945AF #AF9E45 #56AF45
monochromatic
#342257 #4F3483 #6945AF #8A6CC5 #AD98D6

Accessibility & contrast

On white

6.84
#6945AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6945AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945AF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945AF#FFFFFF#000000##FFFFFF
##6945AF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#1059AD
Tritanopia (blue-blind)
#575C73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6945af;
/* rgb */ color: rgb(105, 69, 175);
/* oklch */ color: oklch(48.6% 0.162 295.4);
Tailwind
colors: {
  custom: {
    50: '#997ac8',
    500: '#6945af',
    950: '#000000',
  },
}
SCSS
$custom: #6945af;
$custom-light: #997ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6945af",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 260.377,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48637,
    "c": 0.16178,
    "h": 295.4
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6945AF

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

Preview Lab → · Contrast checker → · Palette generator →

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