#6937B9#6937B9

#6937B9 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.192 H 295.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6937B9
RGBrgb(105, 55, 185)
HSLhsl(263, 54%, 47%)
HSVhsv(263, 70%, 73%)
CMYKcmyk(43.2%, 70.3%, 0%, 27.5%)
CIE-LABlab(36.44, 49.74, -60.56)
CIE-LCHlch(36.44, 78.37, 309.40°)
OKLaboklab(47.41% 0.0836 -0.1732)
OKLCHoklch(47.41% 0.192 295.8)
XYZxyz(15.9465, 9.2381, 46.8325)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937B9 #87B937
analogous
#3746B9 #6937B9 #AA37B9
triadic
#6937B9 #B96937 #37B969
tetradic
#6937B9 #B93746 #87B937 #37B9AA
square
#6937B9 #B93746 #87B937 #37B9AA
split-complementary
#6937B9 #B9AA37 #46B937
monochromatic
#331B5B #4E298A #6937B9 #8A5ECF #AC8DDD

Accessibility & contrast

On white

7.37
#6937B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6937B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937B9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937B9#FFFFFF#000000##FFFFFF
##6937B91.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#545774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6937b9;
/* rgb */ color: rgb(105, 55, 185);
/* oklch */ color: oklch(47.4% 0.192 295.8);
Tailwind
colors: {
  custom: {
    50: '#9b72cf',
    500: '#6937b9',
    950: '#000000',
  },
}
SCSS
$custom: #6937b9;
$custom-light: #9b72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6937b9",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 263.077,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.1923,
    "h": 295.8
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6937B9

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

Preview Lab → · Contrast checker → · Palette generator →

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