#6945CE#6945CE

#6945CE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.200 H 289.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6945CE
RGBrgb(105, 69, 206)
HSLhsl(256, 58%, 54%)
HSVhsv(256, 67%, 81%)
CMYKcmyk(49%, 66.5%, 0%, 19.2%)
CIE-LABlab(40.76, 48.17, -65.78)
CIE-LCHlch(40.76, 81.53, 306.22°)
OKLaboklab(51.02% 0.0665 -0.1886)
OKLCHoklch(51.02% 0.2 289.4)
XYZxyz(19.0912, 11.7149, 59.6358)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945CE #AACE45
analogous
#4566CE #6945CE #AD45CE
triadic
#6945CE #CE6945 #45CE69
tetradic
#6945CE #CE4566 #AACE45 #45CEAD
square
#6945CE #CE4566 #AACE45 #45CEAD
split-complementary
#6945CE #CEAD45 #66CE45
monochromatic
#372079 #4D2DA9 #6945CE #9075DB #B7A6E8

Accessibility & contrast

On white

6.28
#6945CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6945CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945CE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945CE#FFFFFF#000000##FFFFFF
##6945CE1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#476784
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6945ce;
/* rgb */ color: rgb(105, 69, 206);
/* oklch */ color: oklch(51.0% 0.200 289.4);
Tailwind
colors: {
  custom: {
    50: '#9c7bde',
    500: '#6945ce',
    950: '#000000',
  },
}
SCSS
$custom: #6945ce;
$custom-light: #9c7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6945ce",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 255.766,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.19997,
    "h": 289.4
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6945CE

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

Preview Lab → · Contrast checker → · Palette generator →

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