#6937C2#6937C2

#6937C2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.202 H 293.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6937C2
RGBrgb(105, 55, 194)
HSLhsl(262, 56%, 49%)
HSVhsv(262, 72%, 76%)
CMYKcmyk(45.9%, 71.6%, 0%, 23.9%)
CIE-LABlab(37.17, 52.13, -64.65)
CIE-LCHlch(37.17, 83.05, 308.88°)
OKLaboklab(48.15% 0.0818 -0.1852)
OKLCHoklch(48.15% 0.202 293.8)
XYZxyz(16.9268, 9.6302, 51.9954)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937C2 #90C237
analogous
#374BC2 #6937C2 #AF37C2
triadic
#6937C2 #C26937 #37C269
tetradic
#6937C2 #C2374B #90C237 #37C2AF
square
#6937C2 #C2374B #90C237 #37C2AF
split-complementary
#6937C2 #C2AF37 #4BC237
monochromatic
#351C63 #4F2992 #6937C2 #8B63D3 #AF93E0

Accessibility & contrast

On white

7.18
#6937C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6937C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937C2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937C2#FFFFFF#000000##FFFFFF
##6937C21.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#4F5B79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6937c2;
/* rgb */ color: rgb(105, 55, 194);
/* oklch */ color: oklch(48.2% 0.202 293.8);
Tailwind
colors: {
  custom: {
    50: '#9c72d5',
    500: '#6937c2',
    950: '#000000',
  },
}
SCSS
$custom: #6937c2;
$custom-light: #9c72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6937c2",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 261.583,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.20249,
    "h": 293.8
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#6937C2
secondary
#B4CB89
accent
#DF49A9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6937C2

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

Preview Lab → · Contrast checker → · Palette generator →

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