#6931AE#6931AE

#6931AE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.187 H 299.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6931AE
RGBrgb(105, 49, 174)
HSLhsl(267, 56%, 44%)
HSVhsv(267, 72%, 68%)
CMYKcmyk(39.7%, 71.8%, 0%, 31.8%)
CIE-LABlab(34.51, 49.83, -57.18)
CIE-LCHlch(34.51, 75.84, 311.07°)
OKLaboklab(45.76% 0.0915 -0.1632)
OKLCHoklch(45.76% 0.187 299.3)
XYZxyz(14.5621, 8.2557, 40.8625)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931AE #76AE31
analogous
#3137AE #6931AE #A731AE
triadic
#6931AE #AE6931 #31AE69
tetradic
#6931AE #AE3137 #76AE31 #31AEA7
square
#6931AE #AE3137 #76AE31 #31AEA7
split-complementary
#6931AE #AEA731 #37AE31
monochromatic
#2F164E #4C247E #6931AE #884FCD #A87FDB

Accessibility & contrast

On white

7.92
#6931AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6931AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6931AE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6931AE#FFFFFF#000000##FFFFFF
##6931AE1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#59506C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6931ae;
/* rgb */ color: rgb(105, 49, 174);
/* oklch */ color: oklch(45.8% 0.187 299.3);
Tailwind
colors: {
  custom: {
    50: '#9a6ec7',
    500: '#6931ae',
    950: '#000000',
  },
}
SCSS
$custom: #6931ae;
$custom-light: #9a6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6931ae",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 266.88,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.18714,
    "h": 299.3
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#6931AE
secondary
#A1C477
accent
#DF489C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6931AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6931AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva