#6938BE#6938BE

#6938BE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.197 H 294.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6938BE
RGBrgb(105, 56, 190)
HSLhsl(262, 54%, 48%)
HSVhsv(262, 71%, 75%)
CMYKcmyk(44.7%, 70.5%, 0%, 25.5%)
CIE-LABlab(37.02, 50.57, -62.55)
CIE-LCHlch(37.02, 80.44, 308.95°)
OKLaboklab(47.94% 0.0817 -0.1791)
OKLCHoklch(47.94% 0.197 294.5)
XYZxyz(16.5316, 9.5489, 49.6773)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938BE #8DBE38
analogous
#384ABE #6938BE #AC38BE
triadic
#6938BE #BE6938 #38BE69
tetradic
#6938BE #BE384A #8DBE38 #38BEAC
square
#6938BE #BE384A #8DBE38 #38BEAC
split-complementary
#6938BE #BEAC38 #4ABE38
monochromatic
#351C5F #4F2A8F #6938BE #8B62D1 #AE92DF

Accessibility & contrast

On white

7.22
#6938BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6938BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938BE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938BE#FFFFFF#000000##FFFFFF
##6938BE1.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)
#0058C2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#515A77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6938be;
/* rgb */ color: rgb(105, 56, 190);
/* oklch */ color: oklch(47.9% 0.197 294.5);
Tailwind
colors: {
  custom: {
    50: '#9b73d3',
    500: '#6938be',
    950: '#000000',
  },
}
SCSS
$custom: #6938be;
$custom-light: #9b73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6938be",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 261.94,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.19681,
    "h": 294.5
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#6938BE
secondary
#B2CA88
accent
#DE4AA8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6938BE

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

Preview Lab → · Contrast checker → · Palette generator →

#6938BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva