#6937BD#6937BD

#6937BD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.197 H 294.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6937BD
RGBrgb(105, 55, 189)
HSLhsl(262, 55%, 48%)
HSVhsv(262, 71%, 74%)
CMYKcmyk(44.4%, 70.9%, 0%, 25.9%)
CIE-LABlab(36.76, 50.80, -62.39)
CIE-LCHlch(36.76, 80.45, 309.15°)
OKLaboklab(47.73% 0.0828 -0.1786)
OKLCHoklch(47.73% 0.197 294.9)
XYZxyz(16.3747, 9.4093, 49.0877)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937BD #8BBD37
analogous
#3748BD #6937BD #AC37BD
triadic
#6937BD #BD6937 #37BD69
tetradic
#6937BD #BD3748 #8BBD37 #37BDAC
square
#6937BD #BD3748 #8BBD37 #37BDAC
split-complementary
#6937BD #BDAC37 #48BD37
monochromatic
#341B5E #4F298E #6937BD #8A60D1 #AD90DF

Accessibility & contrast

On white

7.29
#6937BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6937BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937BD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937BD#FFFFFF#000000##FFFFFF
##6937BD1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#525976
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6937bd;
/* rgb */ color: rgb(105, 55, 189);
/* oklch */ color: oklch(47.7% 0.197 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b72d2',
    500: '#6937bd',
    950: '#000000',
  },
}
SCSS
$custom: #6937bd;
$custom-light: #9b72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6937bd",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 262.388,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.19685,
    "h": 294.9
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#6937BD
secondary
#B0C986
accent
#DE4AA7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6937BD

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

Preview Lab → · Contrast checker → · Palette generator →

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