#6939B5#6939B5

#6939B5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.185 H 296.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6939B5
RGBrgb(105, 57, 181)
HSLhsl(263, 52%, 47%)
HSVhsv(263, 69%, 71%)
CMYKcmyk(42%, 68.5%, 0%, 29%)
CIE-LABlab(36.49, 47.66, -58.11)
CIE-LCHlch(36.49, 75.16, 309.36°)
OKLaboklab(47.34% 0.0822 -0.166)
OKLCHoklch(47.34% 0.185 296.3)
XYZxyz(15.6271, 9.2654, 44.6722)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939B5 #85B539
analogous
#3947B5 #6939B5 #A739B5
triadic
#6939B5 #B56939 #39B569
tetradic
#6939B5 #B53947 #85B539 #39B5A7
square
#6939B5 #B53947 #85B539 #39B5A7
split-complementary
#6939B5 #B5A739 #47B539
monochromatic
#331C58 #4E2A86 #6939B5 #895FCD #AB8DDB

Accessibility & contrast

On white

7.36
#6939B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6939B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6939B5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939B5#FFFFFF#000000##FFFFFF
##6939B51.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#555772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6939b5;
/* rgb */ color: rgb(105, 57, 181);
/* oklch */ color: oklch(47.3% 0.185 296.3);
Tailwind
colors: {
  custom: {
    50: '#9a73cc',
    500: '#6939b5',
    950: '#000000',
  },
}
SCSS
$custom: #6939b5;
$custom-light: #9a73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6939b5",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 263.226,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.18526,
    "h": 296.3
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#6939B5
secondary
#ACC684
accent
#DC4CA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6939B5

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

Preview Lab → · Contrast checker → · Palette generator →

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