#6939BC#6939BC

#6939BC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.193 H 294.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6939BC
RGBrgb(105, 57, 188)
HSLhsl(262, 53%, 48%)
HSVhsv(262, 70%, 74%)
CMYKcmyk(44.1%, 69.7%, 0%, 26.3%)
CIE-LABlab(37.04, 49.53, -61.34)
CIE-LCHlch(37.04, 78.84, 308.92°)
OKLaboklab(47.91% 0.0811 -0.1755)
OKLCHoklch(47.91% 0.193 294.8)
XYZxyz(16.3635, 9.5599, 48.5503)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939BC #8CBC39
analogous
#394ABC #6939BC #AA39BC
triadic
#6939BC #BC6939 #39BC69
tetradic
#6939BC #BC394A #8CBC39 #39BCAA
square
#6939BC #BC394A #8CBC39 #39BCAA
split-complementary
#6939BC #BCAA39 #4ABC39
monochromatic
#351D5E #4F2B8D #6939BC #8B63D0 #AE92DE

Accessibility & contrast

On white

7.21
#6939BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6939BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6939BC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939BC#FFFFFF#000000##FFFFFF
##6939BC1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#525A76
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6939bc;
/* rgb */ color: rgb(105, 57, 188);
/* oklch */ color: oklch(47.9% 0.193 294.8);
Tailwind
colors: {
  custom: {
    50: '#9b73d1',
    500: '#6939bc',
    950: '#000000',
  },
}
SCSS
$custom: #6939bc;
$custom-light: #9b73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6939bc",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 261.985,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47908,
    "c": 0.19333,
    "h": 294.8
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#6939BC
secondary
#B1C988
accent
#DD4BA7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6939BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6939BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva