#6939BA#6939BA

#6939BA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.191 H 295.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6939BA
RGBrgb(105, 57, 186)
HSLhsl(262, 53%, 48%)
HSVhsv(262, 69%, 73%)
CMYKcmyk(43.5%, 69.4%, 0%, 27.1%)
CIE-LABlab(36.88, 48.99, -60.43)
CIE-LCHlch(36.88, 77.79, 309.04°)
OKLaboklab(47.75% 0.0814 -0.1728)
OKLCHoklch(47.75% 0.191 295.2)
XYZxyz(16.1494, 9.4743, 47.4227)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939BA #8ABA39
analogous
#3949BA #6939BA #AA39BA
triadic
#6939BA #BA6939 #39BA69
tetradic
#6939BA #BA3949 #8ABA39 #39BAAA
square
#6939BA #BA3949 #8ABA39 #39BAAA
split-complementary
#6939BA #BAAA39 #49BA39
monochromatic
#341C5C #4F2B8B #6939BA #8A61CF #AD90DD

Accessibility & contrast

On white

7.25
#6939BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6939BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6939BA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939BA#FFFFFF#000000##FFFFFF
##6939BA1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#535975
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6939ba;
/* rgb */ color: rgb(105, 57, 186);
/* oklch */ color: oklch(47.7% 0.191 295.2);
Tailwind
colors: {
  custom: {
    50: '#9b73d0',
    500: '#6939ba',
    950: '#000000',
  },
}
SCSS
$custom: #6939ba;
$custom-light: #9b73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6939ba",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 262.326,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.19103,
    "h": 295.2
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6939BA

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

Preview Lab → · Contrast checker → · Palette generator →

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