#6939C2#6939C2

#6939C2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.200 H 293.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6939C2
RGBrgb(105, 57, 194)
HSLhsl(261, 55%, 49%)
HSVhsv(261, 71%, 76%)
CMYKcmyk(45.9%, 70.6%, 0%, 23.9%)
CIE-LABlab(37.52, 51.13, -64.07)
CIE-LCHlch(37.52, 81.98, 308.59°)
OKLaboklab(48.4% 0.08 -0.1835)
OKLCHoklch(48.4% 0.2 293.5)
XYZxyz(17.0238, 9.8240, 52.0278)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939C2 #92C239
analogous
#394DC2 #6939C2 #AE39C2
triadic
#6939C2 #C26939 #39C269
tetradic
#6939C2 #C2394D #92C239 #39C2AE
square
#6939C2 #C2394D #92C239 #39C2AE
split-complementary
#6939C2 #C2AE39 #4DC239
monochromatic
#361D63 #4F2B93 #6939C2 #8C66D2 #B095E0

Accessibility & contrast

On white

7.08
#6939C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6939C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6939C2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939C2#FFFFFF#000000##FFFFFF
##6939C21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#4F5C79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6939c2;
/* rgb */ color: rgb(105, 57, 194);
/* oklch */ color: oklch(48.4% 0.200 293.5);
Tailwind
colors: {
  custom: {
    50: '#9c73d5',
    500: '#6939c2',
    950: '#000000',
  },
}
SCSS
$custom: #6939c2;
$custom-light: #9c73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6939c2",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 261.022,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48403,
    "c": 0.2002,
    "h": 293.5
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#6939C2
secondary
#B5CB8B
accent
#DE4AAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6939C2

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

Preview Lab → · Contrast checker → · Palette generator →

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