#6941E7#6941E7

#6941E7 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.234 H 286.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6941E7
RGBrgb(105, 65, 231)
HSLhsl(254, 78%, 58%)
HSVhsv(254, 72%, 91%)
CMYKcmyk(54.5%, 71.9%, 0%, 9.4%)
CIE-LABlab(42.08, 57.28, -77.93)
CIE-LCHlch(42.08, 96.71, 306.32°)
OKLaboklab(52.6% 0.0655 -0.2242)
OKLCHoklch(52.6% 0.234 286.3)
XYZxyz(22.1355, 12.5522, 76.8422)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6941E7 #BFE741
analogous
#416CE7 #6941E7 #BC41E7
triadic
#6941E7 #E76941 #41E769
tetradic
#6941E7 #E7416C #BFE741 #41E7BC
square
#6941E7 #E7416C #BFE741 #41E7BC
split-complementary
#6941E7 #E7BC41 #6CE741
monochromatic
#34139A #461AD0 #6941E7 #9477EE #BFAEF5

Accessibility & contrast

On white

5.98
#6941E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6941E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6941E7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6941E7#FFFFFF#000000##FFFFFF
##6941E71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#316E90
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6941e7;
/* rgb */ color: rgb(105, 65, 231);
/* oklch */ color: oklch(52.6% 0.234 286.3);
Tailwind
colors: {
  custom: {
    50: '#a079f0',
    500: '#6941e7',
    950: '#000000',
  },
}
SCSS
$custom: #6941e7;
$custom-light: #a079f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6941e7",
  "rgb": {
    "r": 105,
    "g": 65,
    "b": 231
  },
  "hsl": {
    "h": 254.458,
    "s": 77.57,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.23358,
    "h": 286.3
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#6941E7
secondary
#D3E3A1
accent
#F434C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6941E7

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

Preview Lab → · Contrast checker → · Palette generator →

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