#6945D0#6945D0

#6945D0 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.2% C 0.202 H 289.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6945D0
RGBrgb(105, 69, 208)
HSLhsl(256, 60%, 54%)
HSVhsv(256, 67%, 82%)
CMYKcmyk(49.5%, 66.8%, 0%, 18.4%)
CIE-LABlab(40.92, 48.73, -66.67)
CIE-LCHlch(40.92, 82.59, 306.16°)
OKLaboklab(51.18% 0.0663 -0.1912)
OKLCHoklch(51.18% 0.202 289.1)
XYZxyz(19.3357, 11.8127, 60.9236)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945D0 #ACD045
analogous
#4566D0 #6945D0 #AF45D0
triadic
#6945D0 #D06945 #45D069
tetradic
#6945D0 #D04566 #ACD045 #45D0AF
square
#6945D0 #D04566 #ACD045 #45D0AF
split-complementary
#6945D0 #D0AF45 #66D045
monochromatic
#371F7B #4D2CAC #6945D0 #9076DC #B8A7E9

Accessibility & contrast

On white

6.24
#6945D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6945D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945D0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945D0#FFFFFF#000000##FFFFFF
##6945D01.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#456885
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6945d0;
/* rgb */ color: rgb(105, 69, 208);
/* oklch */ color: oklch(51.2% 0.202 289.1);
Tailwind
colors: {
  custom: {
    50: '#9c7bdf',
    500: '#6945d0',
    950: '#000000',
  },
}
SCSS
$custom: #6945d0;
$custom-light: #9c7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6945d0",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 255.54,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.20237,
    "h": 289.1
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#6945D0
secondary
#C7D69B
accent
#E345BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6945D0

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

Preview Lab → · Contrast checker → · Palette generator →

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