#6931C2#6931C2

#6931C2 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.209 H 294.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6931C2
RGBrgb(105, 49, 194)
HSLhsl(263, 60%, 48%)
HSVhsv(263, 75%, 76%)
CMYKcmyk(45.9%, 74.7%, 0%, 23.9%)
CIE-LABlab(36.17, 54.96, -66.30)
CIE-LCHlch(36.17, 86.12, 309.66°)
OKLaboklab(47.44% 0.0871 -0.19)
OKLCHoklch(47.44% 0.209 294.6)
XYZxyz(16.6590, 9.0945, 51.9062)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931C2 #8AC231
analogous
#3142C2 #6931C2 #B131C2
triadic
#6931C2 #C26931 #31C269
tetradic
#6931C2 #C23142 #8AC231 #31C2B1
square
#6931C2 #C23142 #8AC231 #31C2B1
split-complementary
#6931C2 #C2B131 #42C231
monochromatic
#341860 #4F2591 #6931C2 #8A5BD6 #AD8CE2

Accessibility & contrast

On white

7.45
#6931C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6931C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6931C2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6931C2#FFFFFF#000000##FFFFFF
##6931C21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#4F5877
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6931c2;
/* rgb */ color: rgb(105, 49, 194);
/* oklch */ color: oklch(47.4% 0.209 294.6);
Tailwind
colors: {
  custom: {
    50: '#9c6fd6',
    500: '#6931c2',
    950: '#000000',
  },
}
SCSS
$custom: #6931c2;
$custom-light: #9c6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6931c2",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 263.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.20901,
    "h": 294.6
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#6931C2
secondary
#B0CC83
accent
#E345A6
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6931C2

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

Preview Lab → · Contrast checker → · Palette generator →

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