#6937BA#6937BA

#6937BA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.193 H 295.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6937BA
RGBrgb(105, 55, 186)
HSLhsl(263, 54%, 47%)
HSVhsv(263, 70%, 73%)
CMYKcmyk(43.5%, 70.4%, 0%, 27.1%)
CIE-LABlab(36.52, 50.00, -61.02)
CIE-LCHlch(36.52, 78.89, 309.33°)
OKLaboklab(47.49% 0.0834 -0.1745)
OKLCHoklch(47.49% 0.193 295.5)
XYZxyz(16.0524, 9.2804, 47.3904)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937BA #88BA37
analogous
#3746BA #6937BA #AB37BA
triadic
#6937BA #BA6937 #37BA69
tetradic
#6937BA #BA3746 #88BA37 #37BAAB
square
#6937BA #BA3746 #88BA37 #37BAAB
split-complementary
#6937BA #BAAB37 #46BA37
monochromatic
#341B5C #4E298B #6937BA #8A5FD0 #AC8EDE

Accessibility & contrast

On white

7.35
#6937BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6937BA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937BA#FFFFFF#000000##FFFFFF
##6937BA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6937ba;
/* rgb */ color: rgb(105, 55, 186);
/* oklch */ color: oklch(47.5% 0.193 295.5);
Tailwind
colors: {
  custom: {
    50: '#9b72d0',
    500: '#6937ba',
    950: '#000000',
  },
}
SCSS
$custom: #6937ba;
$custom-light: #9b72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6937ba",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 262.901,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47486,
    "c": 0.19344,
    "h": 295.5
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#6937BA
secondary
#AEC885
accent
#DE4AA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6937BA

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

Preview Lab → · Contrast checker → · Palette generator →

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