#6937BF#6937BF

#6937BF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.199 H 294.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6937BF
RGBrgb(105, 55, 191)
HSLhsl(262, 55%, 48%)
HSVhsv(262, 71%, 75%)
CMYKcmyk(45%, 71.2%, 0%, 25.1%)
CIE-LABlab(36.92, 51.33, -63.30)
CIE-LCHlch(36.92, 81.49, 309.04°)
OKLaboklab(47.9% 0.0824 -0.1812)
OKLCHoklch(47.9% 0.199 294.5)
XYZxyz(16.5933, 9.4968, 50.2389)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937BF #8DBF37
analogous
#3749BF #6937BF #AD37BF
triadic
#6937BF #BF6937 #37BF69
tetradic
#6937BF #BF3749 #8DBF37 #37BFAD
square
#6937BF #BF3749 #8DBF37 #37BFAD
split-complementary
#6937BF #BFAD37 #49BF37
monochromatic
#351C60 #4F298F #6937BF #8B62D2 #AE91DF

Accessibility & contrast

On white

7.24
#6937BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6937BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937BF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937BF#FFFFFF#000000##FFFFFF
##6937BF1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#515A77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6937bf;
/* rgb */ color: rgb(105, 55, 191);
/* oklch */ color: oklch(47.9% 0.199 294.5);
Tailwind
colors: {
  custom: {
    50: '#9b72d3',
    500: '#6937bf',
    950: '#000000',
  },
}
SCSS
$custom: #6937bf;
$custom-light: #9b72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6937bf",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 262.059,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.479,
    "c": 0.19911,
    "h": 294.5
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#6937BF
secondary
#B2CA88
accent
#DF49A8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6937BF

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

Preview Lab → · Contrast checker → · Palette generator →

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