#6945D7#6945D7

#6945D7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.211 H 288.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6945D7
RGBrgb(105, 69, 215)
HSLhsl(255, 65%, 56%)
HSVhsv(255, 68%, 84%)
CMYKcmyk(51.2%, 67.9%, 0%, 15.7%)
CIE-LABlab(41.48, 50.72, -69.79)
CIE-LCHlch(41.48, 86.27, 306.01°)
OKLaboklab(51.75% 0.0652 -0.2003)
OKLCHoklch(51.75% 0.211 288)
XYZxyz(20.2160, 12.1648, 65.5596)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945D7 #B3D745
analogous
#456AD7 #6945D7 #B245D7
triadic
#6945D7 #D76945 #45D769
tetradic
#6945D7 #D7456A #B3D745 #45D7B2
square
#6945D7 #D7456A #B3D745 #45D7B2
split-complementary
#6945D7 #D7B245 #6AD745
monochromatic
#361D85 #4B27B7 #6945D7 #9277E2 #BAAAED

Accessibility & contrast

On white

6.12
#6945D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6945D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945D7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945D7#FFFFFF#000000##FFFFFF
##6945D71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#406A89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6945d7;
/* rgb */ color: rgb(105, 69, 215);
/* oklch */ color: oklch(51.8% 0.211 288.0);
Tailwind
colors: {
  custom: {
    50: '#9d7be4',
    500: '#6945d7',
    950: '#000000',
  },
}
SCSS
$custom: #6945d7;
$custom-light: #9d7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6945d7",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 254.795,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.21069,
    "h": 288
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#6945D7
secondary
#CBDA9E
accent
#E840BE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6945D7

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

Preview Lab → · Contrast checker → · Palette generator →

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