#6938AE#6938AE

#6938AE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.178 H 298.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6938AE
RGBrgb(105, 56, 174)
HSLhsl(265, 51%, 45%)
HSVhsv(265, 68%, 68%)
CMYKcmyk(39.7%, 67.8%, 0%, 31.8%)
CIE-LABlab(35.77, 46.33, -55.13)
CIE-LCHlch(35.77, 72.02, 310.04°)
OKLaboklab(46.66% 0.0843 -0.1572)
OKLCHoklch(46.66% 0.178 298.2)
XYZxyz(14.8779, 8.8874, 40.9678)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938AE #7DAE38
analogous
#3842AE #6938AE #A438AE
triadic
#6938AE #AE6938 #38AE69
tetradic
#6938AE #AE3842 #7DAE38 #38AEA4
square
#6938AE #AE3842 #7DAE38 #38AEA4
split-complementary
#6938AE #AEA438 #42AE38
monochromatic
#311A51 #4D2980 #6938AE #8859CA #A988D9

Accessibility & contrast

On white

7.56
#6938AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6938AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938AE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938AE#FFFFFF#000000##FFFFFF
##6938AE1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#58546E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6938ae;
/* rgb */ color: rgb(105, 56, 174);
/* oklch */ color: oklch(46.7% 0.178 298.2);
Tailwind
colors: {
  custom: {
    50: '#9972c7',
    500: '#6938ae',
    950: '#000000',
  },
}
SCSS
$custom: #6938ae;
$custom-light: #9972c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6938ae",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 264.915,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46656,
    "c": 0.17842,
    "h": 298.2
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#6938AE
secondary
#A7C37F
accent
#DB4DA0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6938AE

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

Preview Lab → · Contrast checker → · Palette generator →

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