#6945D4#6945D4

#6945D4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.207 H 288.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6945D4
RGBrgb(105, 69, 212)
HSLhsl(255, 62%, 55%)
HSVhsv(255, 67%, 83%)
CMYKcmyk(50.5%, 67.5%, 0%, 16.9%)
CIE-LABlab(41.24, 49.87, -68.46)
CIE-LCHlch(41.24, 84.69, 306.07°)
OKLaboklab(51.51% 0.0657 -0.1965)
OKLCHoklch(51.51% 0.207 288.5)
XYZxyz(19.8340, 12.0121, 63.5481)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945D4 #B0D445
analogous
#4568D4 #6945D4 #B045D4
triadic
#6945D4 #D46945 #45D469
tetradic
#6945D4 #D44568 #B0D445 #45D4B0
square
#6945D4 #D44568 #B0D445 #45D4B0
split-complementary
#6945D4 #D4B045 #68D445
monochromatic
#371E81 #4C29B3 #6945D4 #9177DF #B9A8EB

Accessibility & contrast

On white

6.17
#6945D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6945D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945D4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945D4#FFFFFF#000000##FFFFFF
##6945D41.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#426987
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6945d4;
/* rgb */ color: rgb(105, 69, 212);
/* oklch */ color: oklch(51.5% 0.207 288.5);
Tailwind
colors: {
  custom: {
    50: '#9d7be2',
    500: '#6945d4',
    950: '#000000',
  },
}
SCSS
$custom: #6945d4;
$custom-light: #9d7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6945d4",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 255.105,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.20714,
    "h": 288.5
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#6945D4
secondary
#C9D89C
accent
#E642BC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6945D4

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

Preview Lab → · Contrast checker → · Palette generator →

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