#6948CD#6948CD

#6948CD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.195 H 289.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6948CD
RGBrgb(105, 72, 205)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(48.8%, 64.9%, 0%, 19.6%)
CIE-LABlab(41.29, 46.24, -64.34)
CIE-LCHlch(41.29, 79.23, 305.70°)
OKLaboklab(51.37% 0.0637 -0.1844)
OKLCHoklch(51.37% 0.195 289.1)
XYZxyz(19.1593, 12.0450, 59.0612)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948CD #ACCD48
analogous
#486ACD #6948CD #AC48CD
triadic
#6948CD #CD6948 #48CD69
tetradic
#6948CD #CD486A #ACCD48 #48CDAC
square
#6948CD #CD486A #ACCD48 #48CDAC
split-complementary
#6948CD #CDAC48 #6ACD48
monochromatic
#372179 #4D2EA9 #6948CD #9078DA #B8A8E7

Accessibility & contrast

On white

6.16
#6948CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6948CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948CD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948CD#FFFFFF#000000##FFFFFF
##6948CD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#476884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6948cd;
/* rgb */ color: rgb(105, 72, 205);
/* oklch */ color: oklch(51.4% 0.195 289.1);
Tailwind
colors: {
  custom: {
    50: '#9c7ddd',
    500: '#6948cd',
    950: '#000000',
  },
}
SCSS
$custom: #6948cd;
$custom-light: #9c7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6948cd",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 254.887,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.19505,
    "h": 289.1
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#6948CD
secondary
#C7D59C
accent
#E047BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6948CD

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

Preview Lab → · Contrast checker → · Palette generator →

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