#6938BD#6938BD

#6938BD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.196 H 294.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6938BD
RGBrgb(105, 56, 189)
HSLhsl(262, 54%, 48%)
HSVhsv(262, 70%, 74%)
CMYKcmyk(44.4%, 70.4%, 0%, 25.9%)
CIE-LABlab(36.94, 50.30, -62.10)
CIE-LCHlch(36.94, 79.91, 309.01°)
OKLaboklab(47.86% 0.0819 -0.1777)
OKLCHoklch(47.86% 0.196 294.7)
XYZxyz(16.4227, 9.5053, 49.1037)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938BD #8CBD38
analogous
#3849BD #6938BD #AB38BD
triadic
#6938BD #BD6938 #38BD69
tetradic
#6938BD #BD3849 #8CBD38 #38BDAB
square
#6938BD #BD3849 #8CBD38 #38BDAB
split-complementary
#6938BD #BDAB38 #49BD38
monochromatic
#351C5F #4F2A8E #6938BD #8B62D0 #AE91DE

Accessibility & contrast

On white

7.24
#6938BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6938BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938BD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938BD#FFFFFF#000000##FFFFFF
##6938BD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#525976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6938bd;
/* rgb */ color: rgb(105, 56, 189);
/* oklch */ color: oklch(47.9% 0.196 294.7);
Tailwind
colors: {
  custom: {
    50: '#9b73d2',
    500: '#6938bd',
    950: '#000000',
  },
}
SCSS
$custom: #6938bd;
$custom-light: #9b73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6938bd",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 262.105,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47861,
    "c": 0.19566,
    "h": 294.7
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#6938BD
secondary
#B1C987
accent
#DE4AA7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6938BD

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

Preview Lab → · Contrast checker → · Palette generator →

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