#6939BB#6939BB

#6939BB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.192 H 295.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6939BB
RGBrgb(105, 57, 187)
HSLhsl(262, 53%, 48%)
HSVhsv(262, 70%, 73%)
CMYKcmyk(43.9%, 69.5%, 0%, 26.7%)
CIE-LABlab(36.96, 49.26, -60.89)
CIE-LCHlch(36.96, 78.32, 308.98°)
OKLaboklab(47.83% 0.0812 -0.1742)
OKLCHoklch(47.83% 0.192 295)
XYZxyz(16.2561, 9.5170, 47.9845)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939BB #8BBB39
analogous
#394ABB #6939BB #AA39BB
triadic
#6939BB #BB6939 #39BB69
tetradic
#6939BB #BB394A #8BBB39 #39BBAA
square
#6939BB #BB394A #8BBB39 #39BBAA
split-complementary
#6939BB #BBAA39 #4ABB39
monochromatic
#341C5D #4F2B8C #6939BB #8A62CF #AD91DD

Accessibility & contrast

On white

7.23
#6939BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6939BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6939BB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939BB#FFFFFF#000000##FFFFFF
##6939BB1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#525976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6939bb;
/* rgb */ color: rgb(105, 57, 187);
/* oklch */ color: oklch(47.8% 0.192 295.0);
Tailwind
colors: {
  custom: {
    50: '#9b73d0',
    500: '#6939bb',
    950: '#000000',
  },
}
SCSS
$custom: #6939bb;
$custom-light: #9b73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6939bb",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 262.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.19219,
    "h": 295
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#6939BB
secondary
#B0C887
accent
#DD4BA7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6939BB

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

Preview Lab → · Contrast checker → · Palette generator →

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