#6938B4#6938B4

#6938B4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.185 H 296.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6938B4
RGBrgb(105, 56, 180)
HSLhsl(264, 53%, 46%)
HSVhsv(264, 69%, 71%)
CMYKcmyk(41.7%, 68.9%, 0%, 29.4%)
CIE-LABlab(36.23, 47.91, -57.95)
CIE-LCHlch(36.23, 75.19, 309.58°)
OKLaboklab(47.13% 0.0834 -0.1655)
OKLCHoklch(47.13% 0.185 296.7)
XYZxyz(15.4759, 9.1266, 44.1174)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938B4 #83B438
analogous
#3845B4 #6938B4 #A738B4
triadic
#6938B4 #B46938 #38B469
tetradic
#6938B4 #B43845 #83B438 #38B4A7
square
#6938B4 #B43845 #83B438 #38B4A7
split-complementary
#6938B4 #B4A738 #45B438
monochromatic
#331B57 #4E2985 #6938B4 #895DCD #AB8BDB

Accessibility & contrast

On white

7.43
#6938B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6938B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938B4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938B4#FFFFFF#000000##FFFFFF
##6938B41.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#565672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6938b4;
/* rgb */ color: rgb(105, 56, 180);
/* oklch */ color: oklch(47.1% 0.185 296.7);
Tailwind
colors: {
  custom: {
    50: '#9a72cb',
    500: '#6938b4',
    950: '#000000',
  },
}
SCSS
$custom: #6938b4;
$custom-light: #9a72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6938b4",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 263.71,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.18535,
    "h": 296.7
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#6938B4
secondary
#ABC582
accent
#DC4CA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6938B4

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

Preview Lab → · Contrast checker → · Palette generator →

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