#6945D9#6945D9

#6945D9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.213 H 287.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6945D9
RGBrgb(105, 69, 217)
HSLhsl(255, 66%, 56%)
HSVhsv(255, 68%, 85%)
CMYKcmyk(51.6%, 68.2%, 0%, 14.9%)
CIE-LABlab(41.64, 51.28, -70.67)
CIE-LCHlch(41.64, 87.31, 305.97°)
OKLaboklab(51.92% 0.0649 -0.2029)
OKLCHoklch(51.92% 0.213 287.7)
XYZxyz(20.4745, 12.2683, 66.9214)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945D9 #B5D945
analogous
#456BD9 #6945D9 #B345D9
triadic
#6945D9 #D96945 #45D969
tetradic
#6945D9 #D9456B #B5D945 #45D9B3
square
#6945D9 #D9456B #B5D945 #45D9B3
split-complementary
#6945D9 #D9B345 #6BD945
monochromatic
#361C88 #4A26BB #6945D9 #9278E3 #BBABEE

Accessibility & contrast

On white

6.08
#6945D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6945D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945D9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945D9#FFFFFF#000000##FFFFFF
##6945D91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#3E6B8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6945d9;
/* rgb */ color: rgb(105, 69, 217);
/* oklch */ color: oklch(51.9% 0.213 287.7);
Tailwind
colors: {
  custom: {
    50: '#9e7be6',
    500: '#6945d9',
    950: '#000000',
  },
}
SCSS
$custom: #6945d9;
$custom-light: #9e7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#6945d9",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 254.595,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.21306,
    "h": 287.7
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#6945D9
secondary
#CDDB9E
accent
#E93FC0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6945D9

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

Preview Lab → · Contrast checker → · Palette generator →

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