#6948BB#6948BB

#6948BB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.173 H 292.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6948BB
RGBrgb(105, 72, 187)
HSLhsl(257, 46%, 51%)
HSVhsv(257, 61%, 73%)
CMYKcmyk(43.9%, 61.5%, 0%, 26.7%)
CIE-LABlab(39.96, 41.12, -56.02)
CIE-LCHlch(39.96, 69.50, 306.28°)
OKLaboklab(49.99% 0.0653 -0.1599)
OKLCHoklch(49.99% 0.173 292.2)
XYZxyz(17.1102, 11.2253, 48.2693)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948BB #9ABB48
analogous
#4860BB #6948BB #A248BB
triadic
#6948BB #BB6948 #48BB69
tetradic
#6948BB #BB4860 #9ABB48 #48BBA2
square
#6948BB #BB4860 #9ABB48 #48BBA2
split-complementary
#6948BB #BBA248 #60BB48
monochromatic
#372564 #503690 #6948BB #8E75CC #B2A1DC

Accessibility & contrast

On white

6.47
#6948BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6948BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948BB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948BB#FFFFFF#000000##FFFFFF
##6948BB1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#52627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6948bb;
/* rgb */ color: rgb(105, 72, 187);
/* oklch */ color: oklch(50.0% 0.173 292.2);
Tailwind
colors: {
  custom: {
    50: '#9a7cd0',
    500: '#6948bb',
    950: '#000000',
  },
}
SCSS
$custom: #6948bb;
$custom-light: #9a7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6948bb",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 257.217,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.17271,
    "h": 292.2
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#6948BB
secondary
#BAC996
accent
#D552B0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6948BB

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

Preview Lab → · Contrast checker → · Palette generator →

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