#6941B8#6941B8

#6941B8 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.178 H 294.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6941B8
RGBrgb(105, 65, 184)
HSLhsl(260, 48%, 49%)
HSVhsv(260, 65%, 72%)
CMYKcmyk(42.9%, 64.7%, 0%, 27.8%)
CIE-LABlab(38.28, 44.21, -56.98)
CIE-LCHlch(38.28, 72.12, 307.81°)
OKLaboklab(48.7% 0.0733 -0.1627)
OKLCHoklch(48.7% 0.178 294.3)
XYZxyz(16.3654, 10.2441, 46.4532)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6941B8 #90B841
analogous
#4155B8 #6941B8 #A541B8
triadic
#6941B8 #B86941 #41B869
tetradic
#6941B8 #B84155 #90B841 #41B8A5
square
#6941B8 #B84155 #90B841 #41B8A5
split-complementary
#6941B8 #B8A541 #55B841
monochromatic
#35215E #4F318B #6941B8 #8B6BCB #AF99DB

Accessibility & contrast

On white

6.89
#6941B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6941B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6941B8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6941B8#FFFFFF#000000##FFFFFF
##6941B81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#545D77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6941b8;
/* rgb */ color: rgb(105, 65, 184);
/* oklch */ color: oklch(48.7% 0.178 294.3);
Tailwind
colors: {
  custom: {
    50: '#9a78ce',
    500: '#6941b8',
    950: '#000000',
  },
}
SCSS
$custom: #6941b8;
$custom-light: #9a78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6941b8",
  "rgb": {
    "r": 105,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 260.168,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.17846,
    "h": 294.3
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#6941B8
secondary
#B4C78E
accent
#D750AA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6941B8

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

Preview Lab → · Contrast checker → · Palette generator →

#6941B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva