#6938BF#6938BF

#6938BF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.198 H 294.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6938BF
RGBrgb(105, 56, 191)
HSLhsl(262, 55%, 48%)
HSVhsv(262, 71%, 75%)
CMYKcmyk(45%, 70.7%, 0%, 25.1%)
CIE-LABlab(37.10, 50.83, -63.01)
CIE-LCHlch(37.10, 80.96, 308.90°)
OKLaboklab(48.03% 0.0815 -0.1804)
OKLCHoklch(48.03% 0.198 294.3)
XYZxyz(16.6413, 9.5927, 50.2549)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938BF #8EBF38
analogous
#384ABF #6938BF #AC38BF
triadic
#6938BF #BF6938 #38BF69
tetradic
#6938BF #BF384A #8EBF38 #38BFAC
square
#6938BF #BF384A #8EBF38 #38BFAC
split-complementary
#6938BF #BFAC38 #4ABF38
monochromatic
#351C60 #4F2A90 #6938BF #8B63D1 #AE92DF

Accessibility & contrast

On white

7.20
#6938BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6938BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938BF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938BF#FFFFFF#000000##FFFFFF
##6938BF1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#505A78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6938bf;
/* rgb */ color: rgb(105, 56, 191);
/* oklch */ color: oklch(48.0% 0.198 294.3);
Tailwind
colors: {
  custom: {
    50: '#9b73d3',
    500: '#6938bf',
    950: '#000000',
  },
}
SCSS
$custom: #6938bf;
$custom-light: #9b73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6938bf",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 261.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.19795,
    "h": 294.3
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6938BF

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

Preview Lab → · Contrast checker → · Palette generator →

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