#6940CA#6940CA

#6940CA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.201 H 290.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6940CA
RGBrgb(105, 64, 202)
HSLhsl(258, 57%, 52%)
HSVhsv(258, 68%, 79%)
CMYKcmyk(48%, 68.3%, 0%, 20.8%)
CIE-LABlab(39.47, 49.72, -65.56)
CIE-LCHlch(39.47, 82.28, 307.17°)
OKLaboklab(49.99% 0.0719 -0.1879)
OKLCHoklch(49.99% 0.201 290.9)
XYZxyz(18.3167, 10.9336, 57.0110)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6940CA #A1CA40
analogous
#405CCA #6940CA #AE40CA
triadic
#6940CA #CA6940 #40CA69
tetradic
#6940CA #CA405C #A1CA40 #40CAAE
square
#6940CA #CA405C #A1CA40 #40CAAE
split-complementary
#6940CA #CAAE40 #5CCA40
monochromatic
#371F70 #4F2CA0 #6940CA #8F70D7 #B4A0E5

Accessibility & contrast

On white

6.59
#6940CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6940CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6940CA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6940CA#FFFFFF#000000##FFFFFF
##6940CA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#4A6380
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6940ca;
/* rgb */ color: rgb(105, 64, 202);
/* oklch */ color: oklch(50.0% 0.201 290.9);
Tailwind
colors: {
  custom: {
    50: '#9c78db',
    500: '#6940ca',
    950: '#000000',
  },
}
SCSS
$custom: #6940ca;
$custom-light: #9c78db;
$custom-dark: #000000;
JSON
{
  "hex": "#6940ca",
  "rgb": {
    "r": 105,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 257.826,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49991,
    "c": 0.20123,
    "h": 290.9
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#6940CA
secondary
#BFD195
accent
#E048B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6940CA

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

Preview Lab → · Contrast checker → · Palette generator →

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