#6937C3#6937C3

#6937C3 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.204 H 293.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6937C3
RGBrgb(105, 55, 195)
HSLhsl(261, 56%, 49%)
HSVhsv(261, 72%, 76%)
CMYKcmyk(46.2%, 71.8%, 0%, 23.5%)
CIE-LABlab(37.25, 52.39, -65.10)
CIE-LCHlch(37.25, 83.57, 308.83°)
OKLaboklab(48.24% 0.0816 -0.1865)
OKLCHoklch(48.24% 0.204 293.6)
XYZxyz(17.0395, 9.6752, 52.5889)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937C3 #91C337
analogous
#374BC3 #6937C3 #AF37C3
triadic
#6937C3 #C36937 #37C369
tetradic
#6937C3 #C3374B #91C337 #37C3AF
square
#6937C3 #C3374B #91C337 #37C3AF
split-complementary
#6937C3 #C3AF37 #4BC337
monochromatic
#361C64 #4F2A93 #6937C3 #8C64D3 #AF94E1

Accessibility & contrast

On white

7.15
#6937C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6937C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937C3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937C3#FFFFFF#000000##FFFFFF
##6937C31.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#4E5B7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6937c3;
/* rgb */ color: rgb(105, 55, 195);
/* oklch */ color: oklch(48.2% 0.204 293.6);
Tailwind
colors: {
  custom: {
    50: '#9c72d6',
    500: '#6937c3',
    950: '#000000',
  },
}
SCSS
$custom: #6937c3;
$custom-light: #9c72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6937c3",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 261.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.20362,
    "h": 293.6
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#6937C3
secondary
#B4CC8A
accent
#DF49A9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6937C3

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

Preview Lab → · Contrast checker → · Palette generator →

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