#6937BB#6937BB

#6937BB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.195 H 295.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6937BB
RGBrgb(105, 55, 187)
HSLhsl(263, 55%, 47%)
HSVhsv(263, 71%, 73%)
CMYKcmyk(43.9%, 70.6%, 0%, 26.7%)
CIE-LABlab(36.60, 50.27, -61.48)
CIE-LCHlch(36.60, 79.41, 309.27°)
OKLaboklab(47.57% 0.0832 -0.1759)
OKLCHoklch(47.57% 0.195 295.3)
XYZxyz(16.1591, 9.3231, 47.9522)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937BB #89BB37
analogous
#3747BB #6937BB #AB37BB
triadic
#6937BB #BB6937 #37BB69
tetradic
#6937BB #BB3747 #89BB37 #37BBAB
square
#6937BB #BB3747 #89BB37 #37BBAB
split-complementary
#6937BB #BBAB37 #47BB37
monochromatic
#341B5C #4E298C #6937BB #8A5FD0 #AD8EDE

Accessibility & contrast

On white

7.33
#6937BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6937BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937BB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937BB#FFFFFF#000000##FFFFFF
##6937BB1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#535875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6937bb;
/* rgb */ color: rgb(105, 55, 187);
/* oklch */ color: oklch(47.6% 0.195 295.3);
Tailwind
colors: {
  custom: {
    50: '#9b72d0',
    500: '#6937bb',
    950: '#000000',
  },
}
SCSS
$custom: #6937bb;
$custom-light: #9b72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6937bb",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 262.727,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47569,
    "c": 0.19457,
    "h": 295.3
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#6937BB
secondary
#AFC985
accent
#DE4AA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6937BB

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

Preview Lab → · Contrast checker → · Palette generator →

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