#6937B5#6937B5

#6937B5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.188 H 296.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6937B5
RGBrgb(105, 55, 181)
HSLhsl(264, 53%, 46%)
HSVhsv(264, 70%, 71%)
CMYKcmyk(42%, 69.6%, 0%, 29%)
CIE-LABlab(36.12, 48.69, -58.71)
CIE-LCHlch(36.12, 76.27, 309.67°)
OKLaboklab(47.08% 0.0843 -0.1678)
OKLCHoklch(47.08% 0.188 296.7)
XYZxyz(15.5302, 9.0715, 44.6398)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937B5 #83B537
analogous
#3744B5 #6937B5 #A837B5
triadic
#6937B5 #B56937 #37B569
tetradic
#6937B5 #B53744 #83B537 #37B5A8
square
#6937B5 #B53744 #83B537 #37B5A8
split-complementary
#6937B5 #B5A837 #44B537
monochromatic
#331A57 #4E2986 #6937B5 #895CCD #AB8BDC

Accessibility & contrast

On white

7.46
#6937B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6937B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937B5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937B5#FFFFFF#000000##FFFFFF
##6937B51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6937b5;
/* rgb */ color: rgb(105, 55, 181);
/* oklch */ color: oklch(47.1% 0.188 296.7);
Tailwind
colors: {
  custom: {
    50: '#9a72cc',
    500: '#6937b5',
    950: '#000000',
  },
}
SCSS
$custom: #6937b5;
$custom-light: #9a72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6937b5",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 263.81,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.18774,
    "h": 296.7
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#6937B5
secondary
#ABC682
accent
#DD4BA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6937B5

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

Preview Lab → · Contrast checker → · Palette generator →

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