#6938BB#6938BB

#6938BB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.193 H 295.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6938BB
RGBrgb(105, 56, 187)
HSLhsl(262, 54%, 48%)
HSVhsv(262, 70%, 73%)
CMYKcmyk(43.9%, 70.1%, 0%, 26.7%)
CIE-LABlab(36.78, 49.77, -61.18)
CIE-LCHlch(36.78, 78.87, 309.13°)
OKLaboklab(47.7% 0.0822 -0.175)
OKLCHoklch(47.7% 0.193 295.2)
XYZxyz(16.2071, 9.4191, 47.9682)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938BB #8ABB38
analogous
#3848BB #6938BB #AA38BB
triadic
#6938BB #BB6938 #38BB69
tetradic
#6938BB #BB3848 #8ABB38 #38BBAA
square
#6938BB #BB3848 #8ABB38 #38BBAA
split-complementary
#6938BB #BBAA38 #48BB38
monochromatic
#341C5D #4F2A8C #6938BB #8A61D0 #AD90DE

Accessibility & contrast

On white

7.28
#6938BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6938BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938BB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938BB#FFFFFF#000000##FFFFFF
##6938BB1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#535975
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6938bb;
/* rgb */ color: rgb(105, 56, 187);
/* oklch */ color: oklch(47.7% 0.193 295.2);
Tailwind
colors: {
  custom: {
    50: '#9b72d0',
    500: '#6938bb',
    950: '#000000',
  },
}
SCSS
$custom: #6938bb;
$custom-light: #9b72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6938bb",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 262.443,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47697,
    "c": 0.19339,
    "h": 295.2
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#6938BB
secondary
#B0C886
accent
#DD4BA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6938BB

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

Preview Lab → · Contrast checker → · Palette generator →

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