#6937A2#6937A2

#6937A2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.166 H 301.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6937A2
RGBrgb(105, 55, 162)
HSLhsl(268, 49%, 43%)
HSVhsv(268, 66%, 64%)
CMYKcmyk(35.2%, 66%, 0%, 36.5%)
CIE-LABlab(34.69, 43.74, -49.69)
CIE-LCHlch(34.69, 66.20, 311.36°)
OKLaboklab(45.6% 0.0868 -0.1412)
OKLCHoklch(45.6% 0.166 301.6)
XYZxyz(13.7119, 8.3442, 35.0636)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937A2 #70A237
analogous
#373BA2 #6937A2 #9E37A2
triadic
#6937A2 #A26937 #37A269
tetradic
#6937A2 #A2373B #70A237 #37A29E
square
#6937A2 #A2373B #70A237 #37A29E
split-complementary
#6937A2 #A29E37 #3BA237
monochromatic
#2E1847 #4B2774 #6937A2 #8752C4 #A780D4

Accessibility & contrast

On white

7.87
#6937A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6937A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937A2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937A2#FFFFFF#000000##FFFFFF
##6937A21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0851A0
Tritanopia (blue-blind)
#5D4F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6937a2;
/* rgb */ color: rgb(105, 55, 162);
/* oklch */ color: oklch(45.6% 0.166 301.6);
Tailwind
colors: {
  custom: {
    50: '#9871be',
    500: '#6937a2',
    950: '#000000',
  },
}
SCSS
$custom: #6937a2;
$custom-light: #9871be;
$custom-dark: #000000;
JSON
{
  "hex": "#6937a2",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 268.037,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.1658,
    "h": 301.6
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#6937A2
secondary
#9DBD78
accent
#D94F98
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6937A2

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

Preview Lab → · Contrast checker → · Palette generator →

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