#6945DA#6945DA

#6945DA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.214 H 287.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6945DA
RGBrgb(105, 69, 218)
HSLhsl(254, 67%, 56%)
HSVhsv(254, 68%, 85%)
CMYKcmyk(51.8%, 68.3%, 0%, 14.5%)
CIE-LABlab(41.72, 51.57, -71.11)
CIE-LCHlch(41.72, 87.84, 305.95°)
OKLaboklab(52% 0.0647 -0.2042)
OKLCHoklch(52% 0.214 287.6)
XYZxyz(20.6050, 12.3204, 67.6084)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945DA #B6DA45
analogous
#456CDA #6945DA #B445DA
triadic
#6945DA #DA6945 #45DA69
tetradic
#6945DA #DA456C #B6DA45 #45DAB4
square
#6945DA #DA456C #B6DA45 #45DAB4
split-complementary
#6945DA #DAB445 #6CDA45
monochromatic
#361B89 #4A25BC #6945DA #9278E4 #BBABEE

Accessibility & contrast

On white

6.06
#6945DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6945DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945DA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945DA#FFFFFF#000000##FFFFFF
##6945DA1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6945da;
/* rgb */ color: rgb(105, 69, 218);
/* oklch */ color: oklch(52.0% 0.214 287.6);
Tailwind
colors: {
  custom: {
    50: '#9e7be7',
    500: '#6945da',
    950: '#000000',
  },
}
SCSS
$custom: #6945da;
$custom-light: #9e7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6945da",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 254.497,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.21424,
    "h": 287.6
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#6945DA
secondary
#CDDC9F
accent
#EA3EC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6945DA

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

Preview Lab → · Contrast checker → · Palette generator →

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