#6945CB#6945CB

#6945CB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.196 H 289.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6945CB
RGBrgb(105, 69, 203)
HSLhsl(256, 56%, 53%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48.3%, 66%, 0%, 20.4%)
CIE-LABlab(40.53, 47.32, -64.42)
CIE-LCHlch(40.53, 79.93, 306.30°)
OKLaboklab(50.77% 0.0669 -0.1846)
OKLCHoklch(50.77% 0.196 289.9)
XYZxyz(18.7302, 11.5706, 57.7348)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945CB #A7CB45
analogous
#4564CB #6945CB #AC45CB
triadic
#6945CB #CB6945 #45CB69
tetradic
#6945CB #CB4564 #A7CB45 #45CBAC
square
#6945CB #CB4564 #A7CB45 #45CBAC
split-complementary
#6945CB #CBAC45 #64CB45
monochromatic
#372175 #4E2EA5 #6945CB #9075D8 #B6A5E6

Accessibility & contrast

On white

6.34
#6945CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6945CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945CB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945CB#FFFFFF#000000##FFFFFF
##6945CB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#496682
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6945cb;
/* rgb */ color: rgb(105, 69, 203);
/* oklch */ color: oklch(50.8% 0.196 289.9);
Tailwind
colors: {
  custom: {
    50: '#9c7bdc',
    500: '#6945cb',
    950: '#000000',
  },
}
SCSS
$custom: #6945cb;
$custom-light: #9c7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6945cb",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 256.119,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.19635,
    "h": 289.9
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#6945CB
secondary
#C3D399
accent
#E048B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6945CB

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

Preview Lab → · Contrast checker → · Palette generator →

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