#6937BC#6937BC

#6937BC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.196 H 295.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6937BC
RGBrgb(105, 55, 188)
HSLhsl(263, 55%, 48%)
HSVhsv(263, 71%, 74%)
CMYKcmyk(44.1%, 70.7%, 0%, 26.3%)
CIE-LABlab(36.68, 50.53, -61.93)
CIE-LCHlch(36.68, 79.93, 309.21°)
OKLaboklab(47.65% 0.083 -0.1772)
OKLCHoklch(47.65% 0.196 295.1)
XYZxyz(16.2665, 9.3661, 48.5180)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937BC #8ABC37
analogous
#3748BC #6937BC #AB37BC
triadic
#6937BC #BC6937 #37BC69
tetradic
#6937BC #BC3748 #8ABC37 #37BCAB
square
#6937BC #BC3748 #8ABC37 #37BCAB
split-complementary
#6937BC #BCAB37 #48BC37
monochromatic
#341B5D #4F298D #6937BC #8A60D0 #AD8FDE

Accessibility & contrast

On white

7.31
#6937BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6937BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937BC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937BC#FFFFFF#000000##FFFFFF
##6937BC1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#525876
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6937bc;
/* rgb */ color: rgb(105, 55, 188);
/* oklch */ color: oklch(47.7% 0.196 295.1);
Tailwind
colors: {
  custom: {
    50: '#9b72d1',
    500: '#6937bc',
    950: '#000000',
  },
}
SCSS
$custom: #6937bc;
$custom-light: #9b72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6937bc",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 262.556,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.19571,
    "h": 295.1
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#6937BC
secondary
#B0C986
accent
#DE4AA6
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6937BC

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

Preview Lab → · Contrast checker → · Palette generator →

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