#6942BF#6942BF

#6942BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.186 H 292.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6942BF
RGBrgb(105, 66, 191)
HSLhsl(259, 49%, 50%)
HSVhsv(259, 65%, 75%)
CMYKcmyk(45%, 65.4%, 0%, 25.1%)
CIE-LABlab(39.00, 45.60, -59.91)
CIE-LCHlch(39.00, 75.29, 307.27°)
OKLaboklab(49.39% 0.0715 -0.1713)
OKLCHoklch(49.39% 0.186 292.6)
XYZxyz(17.1753, 10.6607, 50.4329)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942BF #98BF42
analogous
#4259BF #6942BF #A742BF
triadic
#6942BF #BF6942 #42BF69
tetradic
#6942BF #BF4259 #98BF42 #42BFA7
square
#6942BF #BF4259 #98BF42 #42BFA7
split-complementary
#6942BF #BFA742 #59BF42
monochromatic
#372265 #503292 #6942BF #8D70CE #B29DDE

Accessibility & contrast

On white

6.70
#6942BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6942BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942BF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942BF#FFFFFF#000000##FFFFFF
##6942BF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#50607B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6942bf;
/* rgb */ color: rgb(105, 66, 191);
/* oklch */ color: oklch(49.4% 0.186 292.6);
Tailwind
colors: {
  custom: {
    50: '#9b79d3',
    500: '#6942bf',
    950: '#000000',
  },
}
SCSS
$custom: #6942bf;
$custom-light: #9b79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6942bf",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 258.72,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49389,
    "c": 0.18564,
    "h": 292.6
  },
  "luminance": 0.10661
}

Semantic roles & 50–950 ramp

primary
#6942BF
secondary
#B9CA93
accent
#D94FAE
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6942BF

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

Preview Lab → · Contrast checker → · Palette generator →

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