#6937C6#6937C6

#6937C6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.207 H 293.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6937C6
RGBrgb(105, 55, 198)
HSLhsl(261, 57%, 50%)
HSVhsv(261, 72%, 78%)
CMYKcmyk(47%, 72.2%, 0%, 22.4%)
CIE-LABlab(37.50, 53.19, -66.45)
CIE-LCHlch(37.50, 85.11, 308.68°)
OKLaboklab(48.49% 0.081 -0.1905)
OKLCHoklch(48.49% 0.207 293)
XYZxyz(17.3821, 9.8123, 54.3932)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937C6 #94C637
analogous
#374DC6 #6937C6 #B137C6
triadic
#6937C6 #C66937 #37C669
tetradic
#6937C6 #C6374D #94C637 #37C6B1
square
#6937C6 #C6374D #94C637 #37C6B1
split-complementary
#6937C6 #C6B137 #4DC637
monochromatic
#361C66 #502A96 #6937C6 #8C66D4 #B096E2

Accessibility & contrast

On white

7.09
#6937C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6937C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937C6
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937C6#FFFFFF#000000##FFFFFF
##6937C61.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#4D5C7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6937c6;
/* rgb */ color: rgb(105, 55, 198);
/* oklch */ color: oklch(48.5% 0.207 293.0);
Tailwind
colors: {
  custom: {
    50: '#9c72d8',
    500: '#6937c6',
    950: '#000000',
  },
}
SCSS
$custom: #6937c6;
$custom-light: #9c72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6937c6",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 260.979,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48491,
    "c": 0.20698,
    "h": 293
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#6937C6
secondary
#B6CD8C
accent
#E048AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6937C6

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

Preview Lab → · Contrast checker → · Palette generator →

#6937C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva