#6942BB#6942BB

#6942BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.181 H 293.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6942BB
RGBrgb(105, 66, 187)
HSLhsl(259, 48%, 50%)
HSVhsv(259, 65%, 73%)
CMYKcmyk(43.9%, 64.7%, 0%, 26.7%)
CIE-LABlab(38.70, 44.49, -58.05)
CIE-LCHlch(38.70, 73.14, 307.46°)
OKLaboklab(49.08% 0.0719 -0.1659)
OKLCHoklch(49.08% 0.181 293.4)
XYZxyz(16.7411, 10.4871, 48.1462)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942BB #94BB42
analogous
#4258BB #6942BB #A642BB
triadic
#6942BB #BB6942 #42BB69
tetradic
#6942BB #BB4258 #94BB42 #42BBA6
square
#6942BB #BB4258 #94BB42 #42BBA6
split-complementary
#6942BB #BBA642 #58BB42
monochromatic
#362261 #50328E #6942BB #8C6ECC #B09CDC

Accessibility & contrast

On white

6.78
#6942BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6942BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942BB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942BB#FFFFFF#000000##FFFFFF
##6942BB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6942bb;
/* rgb */ color: rgb(105, 66, 187);
/* oklch */ color: oklch(49.1% 0.181 293.4);
Tailwind
colors: {
  custom: {
    50: '#9a79d0',
    500: '#6942bb',
    950: '#000000',
  },
}
SCSS
$custom: #6942bb;
$custom-light: #9a79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6942bb",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 259.339,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49077,
    "c": 0.18079,
    "h": 293.4
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#6942BB
secondary
#B6C891
accent
#D750AC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6942BB

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

Preview Lab → · Contrast checker → · Palette generator →

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