#6939C7#6939C7

#6939C7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.206 H 292.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6939C7
RGBrgb(105, 57, 199)
HSLhsl(260, 56%, 50%)
HSVhsv(260, 71%, 78%)
CMYKcmyk(47.2%, 71.4%, 0%, 22%)
CIE-LABlab(37.94, 52.48, -66.32)
CIE-LCHlch(37.94, 84.57, 308.35°)
OKLaboklab(48.82% 0.079 -0.1901)
OKLCHoklch(48.82% 0.206 292.6)
XYZxyz(17.5948, 10.0524, 55.0350)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939C7 #97C739
analogous
#3950C7 #6939C7 #B039C7
triadic
#6939C7 #C76939 #39C769
tetradic
#6939C7 #C73950 #97C739 #39C7B0
square
#6939C7 #C73950 #97C739 #39C7B0
split-complementary
#6939C7 #C7B039 #50C739
monochromatic
#371D68 #502B98 #6939C7 #8D69D4 #B198E2

Accessibility & contrast

On white

6.98
#6939C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6939C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6939C7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939C7#FFFFFF#000000##FFFFFF
##6939C71.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#4C5E7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6939c7;
/* rgb */ color: rgb(105, 57, 199);
/* oklch */ color: oklch(48.8% 0.206 292.6);
Tailwind
colors: {
  custom: {
    50: '#9c73d9',
    500: '#6939c7',
    950: '#000000',
  },
}
SCSS
$custom: #6939c7;
$custom-light: #9c73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6939c7",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 260.282,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.20588,
    "h": 292.6
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#6939C7
secondary
#B8CE8E
accent
#DF49AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6939C7

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

Preview Lab → · Contrast checker → · Palette generator →

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