#6942BA#6942BA

#6942BA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.180 H 293.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6942BA
RGBrgb(105, 66, 186)
HSLhsl(260, 48%, 49%)
HSVhsv(260, 65%, 73%)
CMYKcmyk(43.5%, 64.5%, 0%, 27.1%)
CIE-LABlab(38.63, 44.21, -57.59)
CIE-LCHlch(38.63, 72.60, 307.51°)
OKLaboklab(49% 0.072 -0.1645)
OKLCHoklch(49% 0.18 293.6)
XYZxyz(16.6344, 10.4444, 47.5844)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942BA #93BA42
analogous
#4257BA #6942BA #A542BA
triadic
#6942BA #BA6942 #42BA69
tetradic
#6942BA #BA4257 #93BA42 #42BAA5
square
#6942BA #BA4257 #93BA42 #42BAA5
split-complementary
#6942BA #BAA542 #57BA42
monochromatic
#362260 #50328D #6942BA #8C6ECB #B09BDB

Accessibility & contrast

On white

6.80
#6942BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6942BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942BA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942BA#FFFFFF#000000##FFFFFF
##6942BA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#525E78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6942ba;
/* rgb */ color: rgb(105, 66, 186);
/* oklch */ color: oklch(49.0% 0.180 293.6);
Tailwind
colors: {
  custom: {
    50: '#9a79d0',
    500: '#6942ba',
    950: '#000000',
  },
}
SCSS
$custom: #6942ba;
$custom-light: #9a79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6942ba",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 259.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49,
    "c": 0.17957,
    "h": 293.6
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#6942BA
secondary
#B6C890
accent
#D751AB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6942BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6942BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva