#6936B2#6936B2

#6936B2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.186 H 297.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6936B2
RGBrgb(105, 54, 178)
HSLhsl(265, 53%, 45%)
HSVhsv(265, 70%, 70%)
CMYKcmyk(41%, 69.7%, 0%, 30.2%)
CIE-LABlab(35.70, 48.40, -57.61)
CIE-LCHlch(35.70, 75.25, 310.04°)
OKLaboklab(46.71% 0.0858 -0.1645)
OKLCHoklch(46.71% 0.186 297.5)
XYZxyz(15.1787, 8.8557, 43.0205)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6936B2 #7FB236
analogous
#3641B2 #6936B2 #A736B2
triadic
#6936B2 #B26936 #36B269
tetradic
#6936B2 #B23641 #7FB236 #36B2A7
square
#6936B2 #B23641 #7FB236 #36B2A7
split-complementary
#6936B2 #B2A736 #41B236
monochromatic
#321A54 #4D2883 #6936B2 #8859CD #AA88DB

Accessibility & contrast

On white

7.58
#6936B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6936B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6936B2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6936B2#FFFFFF#000000##FFFFFF
##6936B21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#575470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6936b2;
/* rgb */ color: rgb(105, 54, 178);
/* oklch */ color: oklch(46.7% 0.186 297.5);
Tailwind
colors: {
  custom: {
    50: '#9a71ca',
    500: '#6936b2',
    950: '#000000',
  },
}
SCSS
$custom: #6936b2;
$custom-light: #9a71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6936b2",
  "rgb": {
    "r": 105,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 264.677,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.18555,
    "h": 297.5
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#6936B2
secondary
#A8C57F
accent
#DD4BA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6936B2

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

Preview Lab → · Contrast checker → · Palette generator →

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