#6938B9#6938B9

#6938B9 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.191 H 295.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6938B9
RGBrgb(105, 56, 185)
HSLhsl(263, 54%, 47%)
HSVhsv(263, 70%, 73%)
CMYKcmyk(43.2%, 69.7%, 0%, 27.5%)
CIE-LABlab(36.62, 49.24, -60.26)
CIE-LCHlch(36.62, 77.82, 309.25°)
OKLaboklab(47.53% 0.0826 -0.1723)
OKLCHoklch(47.53% 0.191 295.6)
XYZxyz(15.9945, 9.3340, 46.8485)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938B9 #88B938
analogous
#3847B9 #6938B9 #AA38B9
triadic
#6938B9 #B96938 #38B969
tetradic
#6938B9 #B93847 #88B938 #38B9AA
square
#6938B9 #B93847 #88B938 #38B9AA
split-complementary
#6938B9 #B9AA38 #47B938
monochromatic
#341C5B #4E2A8A #6938B9 #8A5FCF #AC8EDD

Accessibility & contrast

On white

7.33
#6938B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6938B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938B9
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938B9#FFFFFF#000000##FFFFFF
##6938B91.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#545874
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6938b9;
/* rgb */ color: rgb(105, 56, 185);
/* oklch */ color: oklch(47.5% 0.191 295.6);
Tailwind
colors: {
  custom: {
    50: '#9b72cf',
    500: '#6938b9',
    950: '#000000',
  },
}
SCSS
$custom: #6938b9;
$custom-light: #9b72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6938b9",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 262.791,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47533,
    "c": 0.1911,
    "h": 295.6
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#6938B9
secondary
#AEC885
accent
#DD4BA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6938B9

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

Preview Lab → · Contrast checker → · Palette generator →

#6938B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva