#6937B6#6937B6

#6937B6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.189 H 296.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6937B6
RGBrgb(105, 55, 182)
HSLhsl(264, 54%, 46%)
HSVhsv(264, 70%, 71%)
CMYKcmyk(42.3%, 69.8%, 0%, 28.6%)
CIE-LABlab(36.20, 48.95, -59.18)
CIE-LCHlch(36.20, 76.80, 309.60°)
OKLaboklab(47.16% 0.0841 -0.1691)
OKLCHoklch(47.16% 0.189 296.4)
XYZxyz(15.6332, 9.1127, 45.1822)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937B6 #84B637
analogous
#3745B6 #6937B6 #A937B6
triadic
#6937B6 #B66937 #37B669
tetradic
#6937B6 #B63745 #84B637 #37B6A9
square
#6937B6 #B63745 #84B637 #37B6A9
split-complementary
#6937B6 #B6A937 #45B637
monochromatic
#331B58 #4E2987 #6937B6 #895CCE #AB8BDC

Accessibility & contrast

On white

7.44
#6937B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6937B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937B6
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937B6#FFFFFF#000000##FFFFFF
##6937B61.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#555672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6937b6;
/* rgb */ color: rgb(105, 55, 182);
/* oklch */ color: oklch(47.2% 0.189 296.4);
Tailwind
colors: {
  custom: {
    50: '#9a72cd',
    500: '#6937b6',
    950: '#000000',
  },
}
SCSS
$custom: #6937b6;
$custom-light: #9a72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6937b6",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 263.622,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4716,
    "c": 0.18888,
    "h": 296.4
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#6937B6
secondary
#ACC682
accent
#DD4BA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6937B6

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

Preview Lab → · Contrast checker → · Palette generator →

#6937B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva