#6945D6#6945D6

#6945D6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.210 H 288.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6945D6
RGBrgb(105, 69, 214)
HSLhsl(255, 64%, 55%)
HSVhsv(255, 68%, 84%)
CMYKcmyk(50.9%, 67.8%, 0%, 16.1%)
CIE-LABlab(41.40, 50.43, -69.34)
CIE-LCHlch(41.40, 85.74, 306.03°)
OKLaboklab(51.67% 0.0654 -0.199)
OKLCHoklch(51.67% 0.21 288.2)
XYZxyz(20.0879, 12.1136, 64.8850)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945D6 #B2D645
analogous
#4569D6 #6945D6 #B245D6
triadic
#6945D6 #D66945 #45D669
tetradic
#6945D6 #D64569 #B2D645 #45D6B2
square
#6945D6 #D64569 #B2D645 #45D6B2
split-complementary
#6945D6 #D6B245 #69D645
monochromatic
#361D84 #4B28B6 #6945D6 #9177E1 #BAA9EC

Accessibility & contrast

On white

6.13
#6945D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6945D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945D6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945D6#FFFFFF#000000##FFFFFF
##6945D61.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#416A88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6945d6;
/* rgb */ color: rgb(105, 69, 214);
/* oklch */ color: oklch(51.7% 0.210 288.2);
Tailwind
colors: {
  custom: {
    50: '#9d7be4',
    500: '#6945d6',
    950: '#000000',
  },
}
SCSS
$custom: #6945d6;
$custom-light: #9d7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6945d6",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 254.897,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.20951,
    "h": 288.2
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#6945D6
secondary
#CBDA9D
accent
#E741BE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6945D6

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

Preview Lab → · Contrast checker → · Palette generator →

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