#6938B8#6938B8

#6938B8 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.190 H 295.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6938B8
RGBrgb(105, 56, 184)
HSLhsl(263, 53%, 47%)
HSVhsv(263, 70%, 72%)
CMYKcmyk(42.9%, 69.6%, 0%, 27.8%)
CIE-LABlab(36.54, 48.97, -59.80)
CIE-LCHlch(36.54, 77.30, 309.31°)
OKLaboklab(47.45% 0.0827 -0.171)
OKLCHoklch(47.45% 0.19 295.8)
XYZxyz(15.8893, 9.2919, 46.2945)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938B8 #87B838
analogous
#3847B8 #6938B8 #A938B8
triadic
#6938B8 #B86938 #38B869
tetradic
#6938B8 #B83847 #87B838 #38B8A9
square
#6938B8 #B83847 #87B838 #38B8A9
split-complementary
#6938B8 #B8A938 #47B838
monochromatic
#331B5A #4E2A89 #6938B8 #8A5FCE #AC8EDD

Accessibility & contrast

On white

7.35
#6938B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6938B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938B8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938B8#FFFFFF#000000##FFFFFF
##6938B81.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#545874
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6938b8;
/* rgb */ color: rgb(105, 56, 184);
/* oklch */ color: oklch(47.5% 0.190 295.8);
Tailwind
colors: {
  custom: {
    50: '#9a72ce',
    500: '#6938b8',
    950: '#000000',
  },
}
SCSS
$custom: #6938b8;
$custom-light: #9a72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6938b8",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 262.969,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47452,
    "c": 0.18995,
    "h": 295.8
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#6938B8
secondary
#AEC785
accent
#DD4BA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6938B8

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

Preview Lab → · Contrast checker → · Palette generator →

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