#6941B7#6941B7

#6941B7 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.177 H 294.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6941B7
RGBrgb(105, 65, 183)
HSLhsl(260, 48%, 49%)
HSVhsv(260, 64%, 72%)
CMYKcmyk(42.6%, 64.5%, 0%, 28.2%)
CIE-LABlab(38.20, 43.94, -56.51)
CIE-LCHlch(38.20, 71.58, 307.86°)
OKLaboklab(48.62% 0.0734 -0.1613)
OKLCHoklch(48.62% 0.177 294.5)
XYZxyz(16.2609, 10.2023, 45.9031)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6941B7 #8FB741
analogous
#4154B7 #6941B7 #A441B7
triadic
#6941B7 #B76941 #41B769
tetradic
#6941B7 #B74154 #8FB741 #41B7A4
square
#6941B7 #B74154 #8FB741 #41B7A4
split-complementary
#6941B7 #B7A441 #54B741
monochromatic
#35215D #4F318A #6941B7 #8B6BCA #AF98DA

Accessibility & contrast

On white

6.91
#6941B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6941B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6941B7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6941B7#FFFFFF#000000##FFFFFF
##6941B71.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#545C76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6941b7;
/* rgb */ color: rgb(105, 65, 183);
/* oklch */ color: oklch(48.6% 0.177 294.5);
Tailwind
colors: {
  custom: {
    50: '#9a78cd',
    500: '#6941b7',
    950: '#000000',
  },
}
SCSS
$custom: #6941b7;
$custom-light: #9a78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6941b7",
  "rgb": {
    "r": 105,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 260.339,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.17725,
    "h": 294.5
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#6941B7
secondary
#B3C68E
accent
#D751AA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6941B7

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

Preview Lab → · Contrast checker → · Palette generator →

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