#6948CB#6948CB

#6948CB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.193 H 289.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6948CB
RGBrgb(105, 72, 203)
HSLhsl(255, 56%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(48.3%, 64.5%, 0%, 20.4%)
CIE-LABlab(41.13, 45.67, -63.43)
CIE-LCHlch(41.13, 78.16, 305.75°)
OKLaboklab(51.21% 0.0639 -0.1817)
OKLCHoklch(51.21% 0.193 289.4)
XYZxyz(18.9195, 11.9490, 57.7979)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948CB #AACB48
analogous
#4869CB #6948CB #AB48CB
triadic
#6948CB #CB6948 #48CB69
tetradic
#6948CB #CB4869 #AACB48 #48CBAB
square
#6948CB #CB4869 #AACB48 #48CBAB
split-complementary
#6948CB #CBAB48 #69CB48
monochromatic
#372277 #4D2FA6 #6948CB #9078D9 #B7A7E6

Accessibility & contrast

On white

6.19
#6948CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6948CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948CB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948CB#FFFFFF#000000##FFFFFF
##6948CB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#486883
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6948cb;
/* rgb */ color: rgb(105, 72, 203);
/* oklch */ color: oklch(51.2% 0.193 289.4);
Tailwind
colors: {
  custom: {
    50: '#9c7ddc',
    500: '#6948cb',
    950: '#000000',
  },
}
SCSS
$custom: #6948cb;
$custom-light: #9c7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6948cb",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 255.115,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.1926,
    "h": 289.4
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#6948CB
secondary
#C5D39B
accent
#DF49B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6948CB

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

Preview Lab → · Contrast checker → · Palette generator →

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