#6945CF#6945CF

#6945CF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.1% C 0.201 H 289.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6945CF
RGBrgb(105, 69, 207)
HSLhsl(256, 59%, 54%)
HSVhsv(256, 67%, 81%)
CMYKcmyk(49.3%, 66.7%, 0%, 18.8%)
CIE-LABlab(40.84, 48.45, -66.22)
CIE-LCHlch(40.84, 82.06, 306.19°)
OKLaboklab(51.1% 0.0664 -0.1899)
OKLCHoklch(51.1% 0.201 289.3)
XYZxyz(19.2131, 11.7637, 60.2777)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945CF #ABCF45
analogous
#4566CF #6945CF #AE45CF
triadic
#6945CF #CF6945 #45CF69
tetradic
#6945CF #CF4566 #ABCF45 #45CFAE
square
#6945CF #CF4566 #ABCF45 #45CFAE
split-complementary
#6945CF #CFAE45 #66CF45
monochromatic
#37207A #4D2CAB #6945CF #9076DC #B7A6E8

Accessibility & contrast

On white

6.26
#6945CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6945CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945CF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945CF#FFFFFF#000000##FFFFFF
##6945CF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#466784
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6945cf;
/* rgb */ color: rgb(105, 69, 207);
/* oklch */ color: oklch(51.1% 0.201 289.3);
Tailwind
colors: {
  custom: {
    50: '#9c7bdf',
    500: '#6945cf',
    950: '#000000',
  },
}
SCSS
$custom: #6945cf;
$custom-light: #9c7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6945cf",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 255.652,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.20116,
    "h": 289.3
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#6945CF
secondary
#C6D59B
accent
#E246B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6945CF

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

Preview Lab → · Contrast checker → · Palette generator →

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