#6948BE#6948BE

#6948BE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.176 H 291.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6948BE
RGBrgb(105, 72, 190)
HSLhsl(257, 48%, 51%)
HSVhsv(257, 62%, 75%)
CMYKcmyk(44.7%, 62.1%, 0%, 25.5%)
CIE-LABlab(40.17, 41.97, -57.43)
CIE-LCHlch(40.17, 71.13, 306.16°)
OKLaboklab(50.21% 0.0651 -0.164)
OKLCHoklch(50.21% 0.176 291.6)
XYZxyz(17.4348, 11.3551, 49.9784)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948BE #9DBE48
analogous
#4862BE #6948BE #A448BE
triadic
#6948BE #BE6948 #48BE69
tetradic
#6948BE #BE4862 #9DBE48 #48BEA4
square
#6948BE #BE4862 #9DBE48 #48BEA4
split-complementary
#6948BE #BEA448 #62BE48
monochromatic
#372567 #4F3594 #6948BE #8E75CE #B3A2DE

Accessibility & contrast

On white

6.42
#6948BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6948BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948BE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948BE#FFFFFF#000000##FFFFFF
##6948BE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#50637C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6948be;
/* rgb */ color: rgb(105, 72, 190);
/* oklch */ color: oklch(50.2% 0.176 291.6);
Tailwind
colors: {
  custom: {
    50: '#9a7cd2',
    500: '#6948be',
    950: '#000000',
  },
}
SCSS
$custom: #6948be;
$custom-light: #9a7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6948be",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 256.78,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.17647,
    "h": 291.6
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#6948BE
secondary
#BCCB97
accent
#D751B2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6948BE

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

Preview Lab → · Contrast checker → · Palette generator →

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