#6938BC#6938BC

#6938BC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.195 H 294.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6938BC
RGBrgb(105, 56, 188)
HSLhsl(262, 54%, 48%)
HSVhsv(262, 70%, 74%)
CMYKcmyk(44.1%, 70.2%, 0%, 26.3%)
CIE-LABlab(36.86, 50.03, -61.64)
CIE-LCHlch(36.86, 79.39, 309.07°)
OKLaboklab(47.78% 0.082 -0.1764)
OKLCHoklch(47.78% 0.195 294.9)
XYZxyz(16.3145, 9.4620, 48.5340)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938BC #8BBC38
analogous
#3849BC #6938BC #AB38BC
triadic
#6938BC #BC6938 #38BC69
tetradic
#6938BC #BC3849 #8BBC38 #38BCAB
square
#6938BC #BC3849 #8BBC38 #38BCAB
split-complementary
#6938BC #BCAB38 #49BC38
monochromatic
#341C5E #4F2A8D #6938BC #8A61D0 #AD90DE

Accessibility & contrast

On white

7.26
#6938BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6938BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938BC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938BC#FFFFFF#000000##FFFFFF
##6938BC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#525976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6938bc;
/* rgb */ color: rgb(105, 56, 188);
/* oklch */ color: oklch(47.8% 0.195 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b73d1',
    500: '#6938bc',
    950: '#000000',
  },
}
SCSS
$custom: #6938bc;
$custom-light: #9b73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6938bc",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 262.273,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.19453,
    "h": 294.9
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#6938BC
secondary
#B0C987
accent
#DD4AA7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6938BC

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

Preview Lab → · Contrast checker → · Palette generator →

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