#6939B7#6939B7

#6939B7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.188 H 295.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6939B7
RGBrgb(105, 57, 183)
HSLhsl(263, 53%, 47%)
HSVhsv(263, 69%, 72%)
CMYKcmyk(42.6%, 68.9%, 0%, 28.2%)
CIE-LABlab(36.65, 48.20, -59.04)
CIE-LCHlch(36.65, 76.21, 309.22°)
OKLaboklab(47.5% 0.0819 -0.1687)
OKLCHoklch(47.5% 0.188 295.9)
XYZxyz(15.8338, 9.3481, 45.7607)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939B7 #87B739
analogous
#3948B7 #6939B7 #A839B7
triadic
#6939B7 #B76939 #39B769
tetradic
#6939B7 #B73948 #87B739 #39B7A8
square
#6939B7 #B73948 #87B739 #39B7A8
split-complementary
#6939B7 #B7A839 #48B739
monochromatic
#331C5A #4E2A88 #6939B7 #8A60CD #AC8EDC

Accessibility & contrast

On white

7.32
#6939B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6939B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6939B7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939B7#FFFFFF#000000##FFFFFF
##6939B71.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#545873
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6939b7;
/* rgb */ color: rgb(105, 57, 183);
/* oklch */ color: oklch(47.5% 0.188 295.9);
Tailwind
colors: {
  custom: {
    50: '#9a73cd',
    500: '#6939b7',
    950: '#000000',
  },
}
SCSS
$custom: #6939b7;
$custom-light: #9a73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6939b7",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 262.857,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.18757,
    "h": 295.9
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#6939B7
secondary
#AEC785
accent
#DC4CA5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6939B7

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

Preview Lab → · Contrast checker → · Palette generator →

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