#6945CA#6945CA

#6945CA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.195 H 290.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6945CA
RGBrgb(105, 69, 202)
HSLhsl(256, 56%, 53%)
HSVhsv(256, 66%, 79%)
CMYKcmyk(48%, 65.8%, 0%, 20.8%)
CIE-LABlab(40.45, 47.04, -63.97)
CIE-LCHlch(40.45, 79.40, 306.33°)
OKLaboklab(50.69% 0.0671 -0.1833)
OKLCHoklch(50.69% 0.195 290.1)
XYZxyz(18.6115, 11.5230, 57.1092)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945CA #A6CA45
analogous
#4563CA #6945CA #AC45CA
triadic
#6945CA #CA6945 #45CA69
tetradic
#6945CA #CA4563 #A6CA45 #45CAAC
square
#6945CA #CA4563 #A6CA45 #45CAAC
split-complementary
#6945CA #CAAC45 #63CA45
monochromatic
#372174 #4E2FA3 #6945CA #8F75D8 #B6A4E5

Accessibility & contrast

On white

6.35
#6945CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6945CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945CA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945CA#FFFFFF#000000##FFFFFF
##6945CA1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#496581
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6945ca;
/* rgb */ color: rgb(105, 69, 202);
/* oklch */ color: oklch(50.7% 0.195 290.1);
Tailwind
colors: {
  custom: {
    50: '#9c7bdb',
    500: '#6945ca',
    950: '#000000',
  },
}
SCSS
$custom: #6945ca;
$custom-light: #9c7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6945ca",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 256.241,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.19515,
    "h": 290.1
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#6945CA
secondary
#C3D299
accent
#DF49B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6945CA

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

Preview Lab → · Contrast checker → · Palette generator →

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