#6938B6#6938B6

#6938B6 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.188 H 296.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6938B6
RGBrgb(105, 56, 182)
HSLhsl(263, 53%, 47%)
HSVhsv(263, 69%, 71%)
CMYKcmyk(42.3%, 69.2%, 0%, 28.6%)
CIE-LABlab(36.38, 48.44, -58.88)
CIE-LCHlch(36.38, 76.24, 309.45°)
OKLaboklab(47.29% 0.0831 -0.1683)
OKLCHoklch(47.29% 0.188 296.3)
XYZxyz(15.6811, 9.2087, 45.1982)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938B6 #85B638
analogous
#3846B6 #6938B6 #A838B6
triadic
#6938B6 #B66938 #38B669
tetradic
#6938B6 #B63846 #85B638 #38B6A8
square
#6938B6 #B63846 #85B638 #38B6A8
split-complementary
#6938B6 #B6A838 #46B638
monochromatic
#331B58 #4E2A87 #6938B6 #895ECD #AB8DDC

Accessibility & contrast

On white

7.39
#6938B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6938B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938B6
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938B6#FFFFFF#000000##FFFFFF
##6938B61.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#555773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6938b6;
/* rgb */ color: rgb(105, 56, 182);
/* oklch */ color: oklch(47.3% 0.188 296.3);
Tailwind
colors: {
  custom: {
    50: '#9a72cd',
    500: '#6938b6',
    950: '#000000',
  },
}
SCSS
$custom: #6938b6;
$custom-light: #9a72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6938b6",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 263.333,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.18765,
    "h": 296.3
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#6938B6
secondary
#ACC684
accent
#DC4BA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6938B6

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

Preview Lab → · Contrast checker → · Palette generator →

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