#6946CA#6946CA

#6946CA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.194 H 289.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6946CA
RGBrgb(105, 70, 202)
HSLhsl(256, 55%, 53%)
HSVhsv(256, 65%, 79%)
CMYKcmyk(48%, 65.3%, 0%, 20.8%)
CIE-LABlab(40.65, 46.49, -63.64)
CIE-LCHlch(40.65, 78.81, 306.15°)
OKLaboklab(50.84% 0.0661 -0.1823)
OKLCHoklch(50.84% 0.194 289.9)
XYZxyz(18.6735, 11.6471, 57.1299)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946CA #A7CA46
analogous
#4665CA #6946CA #AB46CA
triadic
#6946CA #CA6946 #46CA69
tetradic
#6946CA #CA4665 #A7CA46 #46CAAB
square
#6946CA #CA4665 #A7CA46 #46CAAB
split-complementary
#6946CA #CAAB46 #65CA46
monochromatic
#372174 #4E2FA4 #6946CA #9076D8 #B6A5E5

Accessibility & contrast

On white

6.31
#6946CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6946CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946CA#FFFFFF#000000##FFFFFF
##6946CA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#496682
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6946ca;
/* rgb */ color: rgb(105, 70, 202);
/* oklch */ color: oklch(50.8% 0.194 289.9);
Tailwind
colors: {
  custom: {
    50: '#9c7cdb',
    500: '#6946ca',
    950: '#000000',
  },
}
SCSS
$custom: #6946ca;
$custom-light: #9c7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6946ca",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 255.909,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.19389,
    "h": 289.9
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#6946CA
secondary
#C3D29A
accent
#DF49B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6946CA

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

Preview Lab → · Contrast checker → · Palette generator →

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