#6948BD#6948BD

#6948BD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.175 H 291.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6948BD
RGBrgb(105, 72, 189)
HSLhsl(257, 47%, 51%)
HSVhsv(257, 62%, 74%)
CMYKcmyk(44.4%, 61.9%, 0%, 25.9%)
CIE-LABlab(40.10, 41.69, -56.96)
CIE-LCHlch(40.10, 70.59, 306.20°)
OKLaboklab(50.14% 0.0652 -0.1627)
OKLCHoklch(50.14% 0.175 291.8)
XYZxyz(17.3258, 11.3116, 49.4047)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948BD #9CBD48
analogous
#4861BD #6948BD #A348BD
triadic
#6948BD #BD6948 #48BD69
tetradic
#6948BD #BD4861 #9CBD48 #48BDA3
square
#6948BD #BD4861 #9CBD48 #48BDA3
split-complementary
#6948BD #BDA348 #61BD48
monochromatic
#372566 #4F3593 #6948BD #8E75CD #B3A2DD

Accessibility & contrast

On white

6.44
#6948BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6948BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948BD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948BD#FFFFFF#000000##FFFFFF
##6948BD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#51637C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6948bd;
/* rgb */ color: rgb(105, 72, 189);
/* oklch */ color: oklch(50.1% 0.175 291.8);
Tailwind
colors: {
  custom: {
    50: '#9a7cd2',
    500: '#6948bd',
    950: '#000000',
  },
}
SCSS
$custom: #6948bd;
$custom-light: #9a7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6948bd",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 256.923,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.17523,
    "h": 291.8
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#6948BD
secondary
#BCCA97
accent
#D751B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6948BD

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

Preview Lab → · Contrast checker → · Palette generator →

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