#6931BA#6931BA

#6931BA is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.200 H 296.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6931BA
RGBrgb(105, 49, 186)
HSLhsl(265, 58%, 46%)
HSVhsv(265, 74%, 73%)
CMYKcmyk(43.5%, 73.7%, 0%, 27.1%)
CIE-LABlab(35.49, 52.90, -62.70)
CIE-LCHlch(35.49, 82.04, 310.16°)
OKLaboklab(46.76% 0.089 -0.1795)
OKLCHoklch(46.76% 0.2 296.4)
XYZxyz(15.7846, 8.7447, 47.3011)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931BA #82BA31
analogous
#313DBA #6931BA #AD31BA
triadic
#6931BA #BA6931 #31BA69
tetradic
#6931BA #BA313D #82BA31 #31BAAD
square
#6931BA #BA313D #82BA31 #31BAAD
split-complementary
#6931BA #BAAD31 #3DBA31
monochromatic
#321759 #4E248A #6931BA #8956D2 #AB86DF

Accessibility & contrast

On white

7.64
#6931BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6931BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6931BA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6931BA#FFFFFF#000000##FFFFFF
##6931BA1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#535573
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6931ba;
/* rgb */ color: rgb(105, 49, 186);
/* oklch */ color: oklch(46.8% 0.200 296.4);
Tailwind
colors: {
  custom: {
    50: '#9b6ed0',
    500: '#6931ba',
    950: '#000000',
  },
}
SCSS
$custom: #6931ba;
$custom-light: #9b6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6931ba",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 264.526,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46756,
    "c": 0.20031,
    "h": 296.4
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#6931BA
secondary
#AAC97E
accent
#E246A2
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6931BA

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

Preview Lab → · Contrast checker → · Palette generator →

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