#6937B0#6937B0

#6937B0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.182 H 297.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6937B0
RGBrgb(105, 55, 176)
HSLhsl(265, 52%, 45%)
HSVhsv(265, 69%, 69%)
CMYKcmyk(40.3%, 68.8%, 0%, 31%)
CIE-LABlab(35.73, 47.37, -56.38)
CIE-LCHlch(35.73, 73.64, 310.04°)
OKLaboklab(46.68% 0.0851 -0.1609)
OKLCHoklch(46.68% 0.182 297.9)
XYZxyz(15.0264, 8.8700, 41.9863)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937B0 #7EB037
analogous
#3742B0 #6937B0 #A537B0
triadic
#6937B0 #B06937 #37B069
tetradic
#6937B0 #B03742 #7EB037 #37B0A5
square
#6937B0 #B03742 #7EB037 #37B0A5
split-complementary
#6937B0 #B0A537 #42B037
monochromatic
#311A53 #4D2881 #6937B0 #8859CB #AA88DA

Accessibility & contrast

On white

7.57
#6937B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6937B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937B0
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937B0#FFFFFF#000000##FFFFFF
##6937B01.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#58546F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6937b0;
/* rgb */ color: rgb(105, 55, 176);
/* oklch */ color: oklch(46.7% 0.182 297.9);
Tailwind
colors: {
  custom: {
    50: '#9a71c8',
    500: '#6937b0',
    950: '#000000',
  },
}
SCSS
$custom: #6937b0;
$custom-light: #9a71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6937b0",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 264.793,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.18201,
    "h": 297.9
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#6937B0
secondary
#A7C47F
accent
#DC4CA0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6937B0

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

Preview Lab → · Contrast checker → · Palette generator →

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