#6937B8#6937B8

#6937B8 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.191 H 296.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6937B8
RGBrgb(105, 55, 184)
HSLhsl(263, 54%, 47%)
HSVhsv(263, 70%, 72%)
CMYKcmyk(42.9%, 70.1%, 0%, 27.8%)
CIE-LABlab(36.36, 49.48, -60.10)
CIE-LCHlch(36.36, 77.84, 309.46°)
OKLaboklab(47.32% 0.0837 -0.1718)
OKLCHoklch(47.32% 0.191 296)
XYZxyz(15.8413, 9.1960, 46.2785)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937B8 #86B837
analogous
#3745B8 #6937B8 #AA37B8
triadic
#6937B8 #B86937 #37B869
tetradic
#6937B8 #B83745 #86B837 #37B8AA
square
#6937B8 #B83745 #86B837 #37B8AA
split-complementary
#6937B8 #B8AA37 #45B837
monochromatic
#331B5A #4E2989 #6937B8 #895DCF #AC8DDD

Accessibility & contrast

On white

7.40
#6937B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6937B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937B8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937B8#FFFFFF#000000##FFFFFF
##6937B81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#545773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6937b8;
/* rgb */ color: rgb(105, 55, 184);
/* oklch */ color: oklch(47.3% 0.191 296.0);
Tailwind
colors: {
  custom: {
    50: '#9b72ce',
    500: '#6937b8',
    950: '#000000',
  },
}
SCSS
$custom: #6937b8;
$custom-light: #9b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6937b8",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 263.256,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.19117,
    "h": 296
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#6937B8
secondary
#ADC784
accent
#DD4AA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6937B8

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

Preview Lab → · Contrast checker → · Palette generator →

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