#6937AB#6937AB

#6937AB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.176 H 299.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6937AB
RGBrgb(105, 55, 171)
HSLhsl(266, 51%, 44%)
HSVhsv(266, 68%, 67%)
CMYKcmyk(38.6%, 67.8%, 0%, 32.9%)
CIE-LABlab(35.35, 46.07, -54.02)
CIE-LCHlch(35.35, 70.99, 310.46°)
OKLaboklab(46.29% 0.0858 -0.154)
OKLCHoklch(46.29% 0.176 299.1)
XYZxyz(14.5407, 8.6757, 39.4287)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937AB #79AB37
analogous
#373FAB #6937AB #A337AB
triadic
#6937AB #AB6937 #37AB69
tetradic
#6937AB #AB373F #79AB37 #37ABA3
square
#6937AB #AB373F #79AB37 #37ABA3
split-complementary
#6937AB #ABA337 #3FAB37
monochromatic
#30194E #4D287D #6937AB #8856C9 #A885D8

Accessibility & contrast

On white

7.68
#6937AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6937AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937AB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937AB#FFFFFF#000000##FFFFFF
##6937AB1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#5A526C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6937ab;
/* rgb */ color: rgb(105, 55, 171);
/* oklch */ color: oklch(46.3% 0.176 299.1);
Tailwind
colors: {
  custom: {
    50: '#9971c5',
    500: '#6937ab',
    950: '#000000',
  },
}
SCSS
$custom: #6937ab;
$custom-light: #9971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6937ab",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 265.862,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.17625,
    "h": 299.1
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#6937AB
secondary
#A4C17C
accent
#DB4D9E
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6937AB

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

Preview Lab → · Contrast checker → · Palette generator →

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