#6937B4#6937B4

#6937B4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.187 H 296.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6937B4
RGBrgb(105, 55, 180)
HSLhsl(264, 53%, 46%)
HSVhsv(264, 69%, 71%)
CMYKcmyk(41.7%, 69.4%, 0%, 29.4%)
CIE-LABlab(36.04, 48.42, -58.25)
CIE-LCHlch(36.04, 75.75, 309.74°)
OKLaboklab(47% 0.0844 -0.1664)
OKLCHoklch(47% 0.187 296.9)
XYZxyz(15.4280, 9.0306, 44.1014)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937B4 #82B437
analogous
#3743B4 #6937B4 #A737B4
triadic
#6937B4 #B46937 #37B469
tetradic
#6937B4 #B43743 #82B437 #37B4A7
square
#6937B4 #B43743 #82B437 #37B4A7
split-complementary
#6937B4 #B4A737 #43B437
monochromatic
#321A56 #4E2985 #6937B4 #895BCD #AB8ADB

Accessibility & contrast

On white

7.48
#6937B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6937B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937B4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937B4#FFFFFF#000000##FFFFFF
##6937B41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#565571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6937b4;
/* rgb */ color: rgb(105, 55, 180);
/* oklch */ color: oklch(47.0% 0.187 296.9);
Tailwind
colors: {
  custom: {
    50: '#9a72cb',
    500: '#6937b4',
    950: '#000000',
  },
}
SCSS
$custom: #6937b4;
$custom-light: #9a72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6937b4",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 264,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.1866,
    "h": 296.9
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#6937B4
secondary
#AAC681
accent
#DD4BA2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6937B4

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

Preview Lab → · Contrast checker → · Palette generator →

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