#6948CF#6948CF

#6948CF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.197 H 288.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6948CF
RGBrgb(105, 72, 207)
HSLhsl(255, 58%, 55%)
HSVhsv(255, 65%, 81%)
CMYKcmyk(49.3%, 65.2%, 0%, 18.8%)
CIE-LABlab(41.44, 46.81, -65.24)
CIE-LCHlch(41.44, 80.30, 305.66°)
OKLaboklab(51.53% 0.0635 -0.187)
OKLCHoklch(51.53% 0.197 288.8)
XYZxyz(19.4023, 12.1421, 60.3407)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948CF #AECF48
analogous
#486ACF #6948CF #AD48CF
triadic
#6948CF #CF6948 #48CF69
tetradic
#6948CF #CF486A #AECF48 #48CFAD
square
#6948CF #CF486A #AECF48 #48CFAD
split-complementary
#6948CF #CFAD48 #6ACF48
monochromatic
#37217C #4C2DAD #6948CF #9178DC #B8A9E8

Accessibility & contrast

On white

6.12
#6948CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6948CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948CF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948CF#FFFFFF#000000##FFFFFF
##6948CF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#466985
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6948cf;
/* rgb */ color: rgb(105, 72, 207);
/* oklch */ color: oklch(51.5% 0.197 288.8);
Tailwind
colors: {
  custom: {
    50: '#9c7ddf',
    500: '#6948cf',
    950: '#000000',
  },
}
SCSS
$custom: #6948cf;
$custom-light: #9c7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6948cf",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 254.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.19748,
    "h": 288.8
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#6948CF
secondary
#C8D69D
accent
#E246BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6948CF

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

Preview Lab → · Contrast checker → · Palette generator →

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