#6945D3#6945D3

#6945D3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.206 H 288.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6945D3
RGBrgb(105, 69, 211)
HSLhsl(255, 62%, 55%)
HSVhsv(255, 67%, 83%)
CMYKcmyk(50.2%, 67.3%, 0%, 17.3%)
CIE-LABlab(41.16, 49.58, -68.01)
CIE-LCHlch(41.16, 84.17, 306.09°)
OKLaboklab(51.42% 0.0658 -0.1951)
OKLCHoklch(51.42% 0.206 288.6)
XYZxyz(19.7083, 11.9618, 62.8858)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945D3 #AFD345
analogous
#4568D3 #6945D3 #B045D3
triadic
#6945D3 #D36945 #45D369
tetradic
#6945D3 #D34568 #AFD345 #45D3B0
square
#6945D3 #D34568 #AFD345 #45D3B0
split-complementary
#6945D3 #D3B045 #68D345
monochromatic
#371E7F #4C2AB1 #6945D3 #9176DF #B9A8EA

Accessibility & contrast

On white

6.19
#6945D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6945D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945D3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945D3#FFFFFF#000000##FFFFFF
##6945D31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#436986
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6945d3;
/* rgb */ color: rgb(105, 69, 211);
/* oklch */ color: oklch(51.4% 0.206 288.6);
Tailwind
colors: {
  custom: {
    50: '#9d7be2',
    500: '#6945d3',
    950: '#000000',
  },
}
SCSS
$custom: #6945d3;
$custom-light: #9d7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6945d3",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 255.211,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.20594,
    "h": 288.6
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#6945D3
secondary
#C9D89C
accent
#E543BC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6945D3

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

Preview Lab → · Contrast checker → · Palette generator →

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