#6937B7#6937B7

#6937B7 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.190 H 296.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6937B7
RGBrgb(105, 55, 183)
HSLhsl(263, 54%, 47%)
HSVhsv(263, 70%, 72%)
CMYKcmyk(42.6%, 69.9%, 0%, 28.2%)
CIE-LABlab(36.28, 49.21, -59.64)
CIE-LCHlch(36.28, 77.32, 309.53°)
OKLaboklab(47.24% 0.0839 -0.1705)
OKLCHoklch(47.24% 0.19 296.2)
XYZxyz(15.7369, 9.1542, 45.7284)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937B7 #85B737
analogous
#3745B7 #6937B7 #A937B7
triadic
#6937B7 #B76937 #37B769
tetradic
#6937B7 #B73745 #85B737 #37B7A9
square
#6937B7 #B73745 #85B737 #37B7A9
split-complementary
#6937B7 #B7A937 #45B737
monochromatic
#331B59 #4E2988 #6937B7 #895DCE #AB8CDC

Accessibility & contrast

On white

7.42
#6937B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6937B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937B7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937B7#FFFFFF#000000##FFFFFF
##6937B71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#555773
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6937b7;
/* rgb */ color: rgb(105, 55, 183);
/* oklch */ color: oklch(47.2% 0.190 296.2);
Tailwind
colors: {
  custom: {
    50: '#9a72ce',
    500: '#6937b7',
    950: '#000000',
  },
}
SCSS
$custom: #6937b7;
$custom-light: #9a72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6937b7",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 263.438,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47242,
    "c": 0.19002,
    "h": 296.2
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#6937B7
secondary
#ACC783
accent
#DD4BA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6937B7

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

Preview Lab → · Contrast checker → · Palette generator →

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