#6936C2#6936C2

#6936C2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.204 H 294.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6936C2
RGBrgb(105, 54, 194)
HSLhsl(262, 56%, 49%)
HSVhsv(262, 72%, 76%)
CMYKcmyk(45.9%, 72.2%, 0%, 23.9%)
CIE-LABlab(37.00, 52.61, -64.94)
CIE-LCHlch(37.00, 83.58, 309.02°)
OKLaboklab(48.03% 0.0827 -0.186)
OKLCHoklch(48.03% 0.204 294)
XYZxyz(16.8798, 9.5361, 51.9798)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6936C2 #8FC236
analogous
#3649C2 #6936C2 #AF36C2
triadic
#6936C2 #C26936 #36C269
tetradic
#6936C2 #C23649 #8FC236 #36C2AF
square
#6936C2 #C23649 #8FC236 #36C2AF
split-complementary
#6936C2 #C2AF36 #49C236
monochromatic
#351B62 #4F2992 #6936C2 #8B62D3 #AF92E1

Accessibility & contrast

On white

7.22
#6936C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6936C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6936C2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6936C2#FFFFFF#000000##FFFFFF
##6936C21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6936c2;
/* rgb */ color: rgb(105, 54, 194);
/* oklch */ color: oklch(48.0% 0.204 294.0);
Tailwind
colors: {
  custom: {
    50: '#9c72d5',
    500: '#6936c2',
    950: '#000000',
  },
}
SCSS
$custom: #6936c2;
$custom-light: #9c72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6936c2",
  "rgb": {
    "r": 105,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 261.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48029,
    "c": 0.20361,
    "h": 294
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#6936C2
secondary
#B3CC88
accent
#E048A8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6936C2

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

Preview Lab → · Contrast checker → · Palette generator →

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